How krishnatiwari005/data-structure-and-algorithm works
This repository is a collection of independent C++ LeetCode solutions, not a single application: a caller supplies problem-specific inputs to a solution method and receives its result. The sampled files show array/search, string transformation, and numeric or combinatorial algorithms. Each solution implements its own logic; there is no shared runtime pipeline or persistent state. The graph samples these independent entry points rather than enumerating the full collection. Source excerpts were sampled, so relationships among unsampled solutions are not inferred.
Main entry points: 0033-search-in-rotated-sorted-array.cpp Rotated search · 3912-valid-elements-in-an-array.cpp Valid elements · 2091-removing-minimum-and-maximum-from-array.cpp Minimum deletions · 1658-minimum-operations-to-reduce-x-to-zero.cpp Reduce x
Components 13
Arrays and Search
- Rotated search
0033-search-in-rotated-sorted-array/0033-search-in-rotated-sorted-array.cpp - Valid elements
3912-valid-elements-in-an-array/3912-valid-elements-in-an-array.cpp - Minimum deletions
2091-removing-minimum-and-maximum-from-array/2091-removing-minimum-and-maximum-from-array.cpp - Reduce x
1658-minimum-operations-to-reduce-x-to-zero/1658-minimum-operations-to-reduce-x-to-zero.cpp - Decrypt circular code
1652-defuse-the-bomb/1652-defuse-the-bomb.cpp - Product difference
1913-maximum-product-difference-between-two-pairs/1913-maximum-product-difference-between-two-pairs.cpp
String Algorithms
- Goal interpretation
1678-goal-parser-interpretation/1678-goal-parser-interpretation.cpp - Similar string pairs
2506-count-pairs-of-similar-strings/2506-count-pairs-of-similar-strings.cpp - Palindrome rearrangement
3517-smallest-palindromic-rearrangement-i/3517-smallest-palindromic-rearrangement-i.cpp
Numeric and Combinatorial
- Even numbers
2094-finding-3-digit-even-numbers/2094-finding-3-digit-even-numbers.cpp - Unique even totals
3483-unique-3-digit-even-numbers/3483-unique-3-digit-even-numbers.cpp - Diagonal prime
2614-prime-in-diagonal/2614-prime-in-diagonal.cpp
Other components
- Solution caller
Connections 24
- Solution caller → Rotated search: calls
- Rotated search → Solution caller: returns index
- Solution caller → Valid elements: calls
- Valid elements → Solution caller: returns elements
- Solution caller → Minimum deletions: calls
- Minimum deletions → Solution caller: returns count
- Solution caller → Reduce x: calls
- Reduce x → Solution caller: returns count
- Solution caller → Decrypt circular code: calls
- Decrypt circular code → Solution caller: returns array
- Solution caller → Product difference: calls
- Product difference → Solution caller: returns value
- Solution caller → Goal interpretation: calls
- Goal interpretation → Solution caller: returns string
- Solution caller → Similar string pairs: calls
- Similar string pairs → Solution caller: returns count
- Solution caller → Palindrome rearrangement: calls
- Palindrome rearrangement → Solution caller: returns string
- Solution caller → Even numbers: calls
- Even numbers → Solution caller: returns numbers
- Solution caller → Unique even totals: calls
- Unique even totals → Solution caller: returns count
- Solution caller → Diagonal prime: calls
- Diagonal prime → Solution caller: returns prime