How santhikumaryadavalli/leetcode works
This repository is a collection of standalone Python solutions and algorithm templates for LeetCode-style problems, not a single application. A user selects an implementation, supplies problem input, and receives a computed result; the files do not form a shared runtime pipeline. The graph groups the collection by algorithm domain and preserves contest and daily-challenge solutions as a distinct branch. Relationships between independent files are not inferred. The README is minimal, so the workflow is based on the repository contents; only a few internal calls are shown where excerpts support them.
Main entry points: merge_sort.py List Merge Sort · quick_sort.py Array Sorting · 2_second_largest_element_in_an_array.py Array Basics · 11_longest_subarray_with_sum_K.py Subarray Sums
Components 19
Array Algorithms
- Array Basics
Arrays/2_second_largest_element_in_an_array.py - Subarray Sums
Arrays/11_longest_subarray_with_sum_K.py - Array Transforms
Arrays/6_LC-189. Rotate Array.py
Data Structures
- Tree Traversals
Binary Trees/level-order_traversal.py - Linked Lists
Linked List/merge_sort.py - Trie
Trie/templates/trie.py - List Merge Sort
Linked List/merge_sort.py
Graph Algorithms
- Graph Traversal
Graphs/BFS.py - Disjoint Sets
Graphs/DSU.py - Dijkstra Templates
Graphs/templates/Dijkstra.py - Topological Sort
Graphs/templates/topological_sort.py
Algorithm Templates
- Array Sorting
Sortings/quick_sort.py - Prime Utilities
Math/templates/prime_factors.py - String Search
Strings/templates/KMP.py - Partition Helper
Sortings/quick_sort.py
Problem Solutions
- Biweekly Solutions
Contests/biweekly156/3543_Maximum Weighted K-Edge Path.py - Weekly Solutions
Contests/weekly450/3552_ Grid Teleportation Traversal.py - Daily Challenges
POTD's/135. Candy.py
Other components
- Problem Solver
Connections 18
- Problem Solver → Array Basics: selects solution
- Problem Solver → Subarray Sums: selects solution
- Problem Solver → Array Transforms: selects solution
- Problem Solver → Tree Traversals: selects solution
- Problem Solver → Linked Lists: selects solution
- Problem Solver → Trie: selects template
- Problem Solver → Graph Traversal: selects template
- Problem Solver → Disjoint Sets: selects template
- Problem Solver → Dijkstra Templates: selects template
- Problem Solver → Topological Sort: selects template
- Problem Solver → Array Sorting: selects template
- Problem Solver → Prime Utilities: selects template
- Problem Solver → String Search: selects template
- Problem Solver → Biweekly Solutions: selects solution
- Problem Solver → Weekly Solutions: selects solution
- Problem Solver → Daily Challenges: selects solution
- List Merge Sort → List Merge Sort: recurses and merges
Linked List/merge_sort.py - Array Sorting → Partition Helper: partitions array
Sortings/quick_sort.py