How lpmn374/leetcode-solutions works
This repository is a collection of independent LeetCode solution snippets, not a single application or shared runtime. The principal workflow is that a learner or judge supplies a problem’s inputs to its corresponding solution and receives its answer; the README also describes learning progress and topic statistics tracked separately in a spreadsheet. Solutions span arrays, strings, search, graphs, grids, and other algorithmic topics. Sampled files show self-contained functions rather than shared services or a common execution layer, so the graph groups representative solutions by domain and does not imply calls between them. Many listed solutions were not sampled.
Main entry points: 0643-maximum-average-subarray-i.js Array solutions · 3194-minimum-average-of-smallest-and-largest-elements.js Array transforms · 0301-remove-invalid-parentheses.js String solutions · 3093-longest-common-suffix-queries.js Suffix trie query
Components 16
Array algorithms
- Array solutions
0643-maximum-average-subarray-i/0643-maximum-average-subarray-i.js - Array transforms
3194-minimum-average-of-smallest-and-largest-elements/3194-minimum-average-of-smallest-and-largest-elements.js
String algorithms
- String solutions
0301-remove-invalid-parentheses/0301-remove-invalid-parentheses.js - Suffix trie query
3093-longest-common-suffix-queries/3093-longest-common-suffix-queries.js - String comparison
0844-backspace-string-compare/0844-backspace-string-compare.js
Search and ordering
- Binary search
0704-binary-search/0704-binary-search.js - Rotated search
0033-search-in-rotated-sorted-array/0033-search-in-rotated-sorted-array.js - Insert position
0035-search-insert-position/0035-search-insert-position.js
Graphs and grids
- Graph path search
1971-find-if-path-exists-in-graph/1971-find-if-path-exists-in-graph.js - Jump game BFS
1345-jump-game-iv/1345-jump-game-iv.js - Grid simulation
0994-rotting-oranges/0994-rotting-oranges.js
Other problems
- Tree construction
0654-maximum-binary-tree/0654-maximum-binary-tree.js - Dynamic programming
1340-jump-game-v/1340-jump-game-v.js
Other components
- Learner or judge
- LeetCode problem
- Computed answer
Connections 27
- Learner or judge → LeetCode problem: chooses problem
README.md - LeetCode problem → Array solutions: provides inputs
- LeetCode problem → Array transforms: provides inputs
- LeetCode problem → String solutions: provides inputs
- LeetCode problem → Suffix trie query: provides inputs
- LeetCode problem → String comparison: provides inputs
- LeetCode problem → Binary search: provides inputs
- LeetCode problem → Rotated search: provides inputs
- LeetCode problem → Insert position: provides inputs
- LeetCode problem → Graph path search: provides inputs
- LeetCode problem → Jump game BFS: provides inputs
- LeetCode problem → Grid simulation: provides inputs
- LeetCode problem → Tree construction: provides inputs
- LeetCode problem → Dynamic programming: provides inputs
- Array solutions → Computed answer: returns result
- Array transforms → Computed answer: returns result
- String solutions → Computed answer: returns result
- Suffix trie query → Computed answer: returns result
- String comparison → Computed answer: returns result
- Binary search → Computed answer: returns result
- Rotated search → Computed answer: returns result
- Insert position → Computed answer: returns result
- Graph path search → Computed answer: returns result
- Jump game BFS → Computed answer: returns result
- Grid simulation → Computed answer: returns result
- Tree construction → Computed answer: returns result
- Dynamic programming → Computed answer: returns result