2 dépôts
Algorithms for finding three elements in an array that sum to a specific target value, often using sorting and two-pointer techniques.
Distinct from Combination Sum Algorithms: Distinct from general Combination Sum Algorithms: focuses specifically on finding triplets that sum to zero, using sorting and two-pointer technique.
Explore 2 awesome GitHub repositories matching software engineering & architecture · Triplet Sum Algorithms. Refine with filters or upvote what's useful.
algs4 is a Java data structures library and algorithm reference collection designed as the source code for a standard computer science textbook curriculum. It provides a comprehensive suite of fundamental implementations for sorting, searching, and core data organization. The project serves as a graph theory framework, offering tools for representing directed and undirected graphs and performing complex traversals and pathfinding. It also includes a broad sorting algorithm suite and a specialized library of Java data structures, including stacks, queues, priority queues, and symbol tables. I
Identifies unique triplets of integers that sum to zero using sorting and two-pointer techniques.
LeetCode-Swift is a collection of algorithm solutions written in Swift, designed for coding interview preparation. Each solution is implemented as a self-contained function with no external dependencies, making it easy to run and test. The repository organizes solutions by topic and company, and every file includes time and space complexity annotations, allowing quick evaluation of algorithmic efficiency. What sets this repository apart is its flat file structure and the way solutions are tagged with the companies that asked them in interviews, enabling targeted practice. All code resides in
Finds all unique triplets in an array summing to zero by sorting and applying a two-pointer technique.