Skip to content
LSUDOKOPublic

About

This repository is managed by LeetPush . Here You get my solution of leetcode questions

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Latest commit

 

History

544 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Solutions 📝

LeetCode Header

Welcome to my curated repository of LeetCode solutions! 💻🚀

LeetCode Profile Solutions Count Last Updated


📂 Directory Structure

Organized by language and topics for easier navigation:

leetcode/
├── cpp/                 ⚙️ C++ Solutions
│   ├── array/           📊 Array problems
│   ├── binary-search/   🔍 Binary Search problems
│   ├── dp/              🧠 Dynamic Programming
│   └── ...              🔄 Other categories
├── python/              🐍 Python Solutions
├── sql/                 🗄️ SQL Solutions
├── js/                  📜 JavaScript Solutions
└── README.md            📝 Project overview

💡 Run the included organize_workspace.bat script to automatically organize files by language!


🚀 How to Use

  1. Clone the repo:

    git clone https://github.com/LSUDOKO/leetcode.git
    cd leetcode
  2. Run the organization script:

    organize_workspace.bat
  3. Run your solution:

    • C++: g++ -std=c++17 cpp/array/1-Two-Sum.cpp -o TwoSum && TwoSum
    • Python: python python/1-Two-Sum.py
    • SQL: Open .sql file in your database client
    • JavaScript: node js/2667-Create-Hello-World-Function.js

💡 Problem Categories

Array Problems 📊

Dynamic Programming 🧠

Binary Search 🔍

Coding Process

🤝 Contribute

Want to contribute? That's great! Here's how:

  1. Fork this repo ❤️
  2. Create a branch: git checkout -b feat/new-solution
  3. Add your solution into the correct folder ✨
  4. Commit & push 🎉
  5. Open a Pull Request 👍

🏆 My LeetCode Stats

LeetCode Stats


📄 License

This project is licensed under the MIT License 🔓

LeetCode Topics

Tree

0098-validate-binary-search-tree
0099-recover-binary-search-tree
0173-binary-search-tree-iterator
0230-kth-smallest-element-in-a-bst
0235-lowest-common-ancestor-of-a-binary-search-tree
0450-delete-node-in-a-bst
0501-find-mode-in-binary-search-tree
0530-minimum-absolute-difference-in-bst
0799-minimum-distance-between-bst-nodes
0933-increasing-order-search-tree
0975-range-sum-of-bst

Binary Search Tree

0098-validate-binary-search-tree
0099-recover-binary-search-tree
0173-binary-search-tree-iterator
0230-kth-smallest-element-in-a-bst
0235-lowest-common-ancestor-of-a-binary-search-tree
0450-delete-node-in-a-bst
0501-find-mode-in-binary-search-tree
0530-minimum-absolute-difference-in-bst
0799-minimum-distance-between-bst-nodes
0933-increasing-order-search-tree
0975-range-sum-of-bst

Binary Tree

0098-validate-binary-search-tree
0099-recover-binary-search-tree
0173-binary-search-tree-iterator
0230-kth-smallest-element-in-a-bst
0235-lowest-common-ancestor-of-a-binary-search-tree
0450-delete-node-in-a-bst
0501-find-mode-in-binary-search-tree
0530-minimum-absolute-difference-in-bst
0799-minimum-distance-between-bst-nodes
0933-increasing-order-search-tree
0975-range-sum-of-bst

Depth-First Search

0098-validate-binary-search-tree
0099-recover-binary-search-tree
0230-kth-smallest-element-in-a-bst
0235-lowest-common-ancestor-of-a-binary-search-tree
0501-find-mode-in-binary-search-tree
0530-minimum-absolute-difference-in-bst
0547-number-of-provinces
0799-minimum-distance-between-bst-nodes
0871-keys-and-rooms
0933-increasing-order-search-tree
0975-range-sum-of-bst

Breadth-First Search

0530-minimum-absolute-difference-in-bst
0547-number-of-provinces
0799-minimum-distance-between-bst-nodes
0871-keys-and-rooms
3271-count-the-number-of-houses-at-a-certain-distance-i

Stack

0173-binary-search-tree-iterator
0933-increasing-order-search-tree
1021-remove-outermost-parentheses
1208-maximum-nesting-depth-of-two-valid-parentheses-strings
1541-minimum-insertions-to-balance-a-parentheses-string
1737-maximum-nesting-depth-of-the-parentheses

Binary Lifting

0235-lowest-common-ancestor-of-a-binary-search-tree

Lowest Common Ancestor

0235-lowest-common-ancestor-of-a-binary-search-tree

Design

0173-binary-search-tree-iterator

Iterator

0173-binary-search-tree-iterator

Graph Theory

0547-number-of-provinces
0871-keys-and-rooms
3271-count-the-number-of-houses-at-a-certain-distance-i

Union-Find

0547-number-of-provinces

Hash Table

1644-maximum-number-of-non-overlapping-substrings
4020-lexicographically-smallest-permutation-greater-than-target

String

1021-remove-outermost-parentheses
1208-maximum-nesting-depth-of-two-valid-parentheses-strings
1341-split-a-string-in-balanced-strings
1541-minimum-insertions-to-balance-a-parentheses-string
1644-maximum-number-of-non-overlapping-substrings
1737-maximum-nesting-depth-of-the-parentheses
4020-lexicographically-smallest-permutation-greater-than-target
4037-lexicographically-smallest-palindromic-permutation-greater-than-target

Greedy

1341-split-a-string-in-balanced-strings
1541-minimum-insertions-to-balance-a-parentheses-string
1644-maximum-number-of-non-overlapping-substrings
4020-lexicographically-smallest-permutation-greater-than-target

Counting

1341-split-a-string-in-balanced-strings
4020-lexicographically-smallest-permutation-greater-than-target

Enumeration

4020-lexicographically-smallest-permutation-greater-than-target
4037-lexicographically-smallest-palindromic-permutation-greater-than-target

Two Pointers

4037-lexicographically-smallest-palindromic-permutation-greater-than-target

Linked List

2182-find-the-minimum-and-maximum-number-of-nodes-between-critical-points

Prefix Sum

3271-count-the-number-of-houses-at-a-certain-distance-i

Math

0866-rectangle-overlap
1501-circle-and-rectangle-overlapping
4245-count-commas-in-range
4248-count-commas-in-range-ii

Geometry

0866-rectangle-overlap
1501-circle-and-rectangle-overlapping

Sorting

1644-maximum-number-of-non-overlapping-substrings

Bracket Sequences

1021-remove-outermost-parentheses
1208-maximum-nesting-depth-of-two-valid-parentheses-strings
1541-minimum-insertions-to-balance-a-parentheses-string
1737-maximum-nesting-depth-of-the-parentheses

About

This repository is managed by LeetPush . Here You get my solution of leetcode questions

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages