How bytebytegohq/coding-interview-patterns works
This repository is a multilingual catalog of coding-interview problem solutions, organized around the book’s 19 algorithm-pattern chapters. A learner chooses a pattern and studies or practices its solution in a supported language; the README also points learners to a separate online practice platform. The sampled files show standalone algorithms rather than a shared runtime or application pipeline, so chapter components are grouped by topic, not connected as sequential processing stages. Evidence for chapter coverage and the external practice option comes from the README and file tree; most individual implementations were not sampled.
Main entry points: README.md Problem Solutions
Components 22
Pointer Patterns
- Two Pointers
cpp/Two Pointers/triplet_sum.cpp - Fast And Slow
cpp/Fast and Slow Pointers/linked_list_midpoint.cpp - Sliding Windows
cpp/Sliding Windows/longest_substring_with_unique_chars.cpp
Search Structures
- Hash Maps And Sets
cpp/Hash Maps and Sets/zero_striping.cpp - Binary Search
cpp/Binary Search/matrix_search.cpp - Heaps
cpp/Heaps/k_most_frequent_strings_min_heap.cpp - Stacks
cpp/Stacks/evaluate_expression.cpp
Trees And Graphs
- Linked Lists
cpp/Linked Lists/lru_cache.cpp - Trees
cpp/Trees/binary_search_tree_validation.cpp - Tries
cpp/Tries/insert_and_search_words_with_wildcards.cpp - Graphs
cpp/Graphs/shortest_transformation_sequence_optimized.cpp
Algorithmic Techniques
- Intervals
cpp/Intervals/merge_overlapping_intervals.cpp - Prefix Sums
cpp/Prefix Sums/k_sum_subarrays.cpp - Dynamic Programming
cpp/Dynamic Programming/knapsack.cpp - Greedy
cpp/Greedy/candies.cpp - Backtracking
cpp/Backtracking/n_queens.cpp
Specialized Methods
- Sort And Search
cpp/Sort and Search/sort_array_quicksort.cpp - Bit Manipulation
cpp/Bit Manipulation/hamming_weights_of_integers.cpp - Math And Geometry
cpp/Math and Geometry/maximum_collinear_points.cpp
Other components
- Learner
- Problem Solutions
README.md - Online Practice
Connections 2
- Learner → Problem Solutions: studies solutions
README.md - Learner → Online Practice: practices online
README.md