How prowin7/leetcode works
This repository is a collection of independent C++ solutions to LeetCode and other interview problems, not a single application with a shared runtime workflow. Each solution accepts problem-specific input and computes a result; the README organizes many solutions by topic. The graph groups representative solutions into problem domains rather than implying calls or data flow between them. Paths identify sampled implementations; the collection contains many additional standalone solutions in each domain.
Components 17
Arrays and search
- Array search
0033-search-in-rotated-sorted-array/0033-search-in-rotated-sorted-array.cpp - Array windows
Difficulty: Easy/Max Sum Subarray of size K/max-sum-subarray-of-size-k.cpp - Matrix operations
0054-spiral-matrix/0054-spiral-matrix.cpp - Range sums
0304-range-sum-query-2d-immutable/0304-range-sum-query-2d-immutable.cpp
Dynamic programming
- Sequence DP
3956-trionic-array-ii/3956-trionic-array-ii.cpp - Path and grid DP
0064-minimum-path-sum/0064-minimum-path-sum.cpp - String DP
0072-edit-distance/0072-edit-distance.cpp - Knapsack and change
0322-coin-change/0322-coin-change.cpp
Graphs and grids
- Shortest paths
Difficulty: Medium/Bellman-Ford/bellman-ford.cpp - Network connectivity
0547-number-of-provinces/0547-number-of-provinces.cpp - Grid traversal
0200-number-of-islands/0200-number-of-islands.cpp - Island components
0854-making-a-large-island/0854-making-a-large-island.cpp
Tree algorithms
- Tree traversal
0102-binary-tree-level-order-traversal/0102-binary-tree-level-order-traversal.cpp - Tree transformation
1382-balance-a-binary-search-tree/1382-balance-a-binary-search-tree.cpp
Strings and combinatorics
- String windows
0076-minimum-window-substring/0076-minimum-window-substring.cpp - Backtracking
0017-letter-combinations-of-a-phone-number/0017-letter-combinations-of-a-phone-number.cpp - Palindrome problems
0005-longest-palindromic-substring/0005-longest-palindromic-substring.cpp