Welcome to the LeetCode-GfG repository! 🚀
A neatly organized collection of coding solutions for problems from LeetCode and GeeksforGeeks—solved, tested, and time-stamped for future reference.
- âś… 300+ LeetCode Problems (Easy to Hard)
- âś… GfG Practice Questions
- âś… Optimized code with runtime & memory stats
- âś… Regular updates via LeetHub
- Arrays & Strings
- Linked Lists
- Trees & Graphs
- DP & Backtracking
- SQL & Database Queries
- And more...
All solutions are auto-pushed using LeetHub, so you'll always find the latest versions here.
This repo is actively maintained. More problems coming soon!
👩‍💻 By Mansiiiiiiiiiiiiiiiii
🗂️ Last updated: Automatically via LeetHub
| 0011-container-with-most-water |
| 0134-gas-station |
| 0410-split-array-largest-sum |
| 0209-minimum-size-subarray-sum |
| 0410-split-array-largest-sum |
| 0724-find-pivot-index |
| 1046-max-consecutive-ones-iii |
| 1435-xor-queries-of-a-subarray |
| 1603-running-sum-of-1d-array |
| 1034-subarrays-with-k-different-integers |
| 0136-single-number |
| 0222-count-complete-tree-nodes |
| 0287-find-the-duplicate-number |
| 1435-xor-queries-of-a-subarray |
| 0203-remove-linked-list-elements |
| 0206-reverse-linked-list |
| 0234-palindrome-linked-list |
| 1013-fibonacci-number |
| 0146-lru-cache |
| 0155-min-stack |
| 0496-next-greater-element-i |
| 1305-number-of-visible-people-in-a-queue |
| 2195-time-needed-to-buy-tickets |
| 0054-spiral-matrix |
| 2021-remove-all-occurrences-of-a-substring |
| 2195-time-needed-to-buy-tickets |
| 0146-lru-cache |
| 0108-convert-sorted-array-to-binary-search-tree |
| 1427-all-elements-in-two-binary-search-trees |
| 0547-number-of-provinces |
| 0547-number-of-provinces |
| 0744-network-delay-time |
| 0108-convert-sorted-array-to-binary-search-tree |
| 0240-search-a-2d-matrix-ii |
| 0744-network-delay-time |
| 0744-network-delay-time |
| 0048-rotate-image |
| 0054-spiral-matrix |
| 0074-search-a-2d-matrix |
| 0240-search-a-2d-matrix-ii |
| 1171-shortest-path-in-binary-matrix |
| 0070-climbing-stairs |
| 1013-fibonacci-number |
| 0204-count-primes |
| 0204-count-primes |
| 2481-strictly-palindromic-number |