🎉 Welcome to my interactive LeetCode solutions repository! Here, we dive deep into a world of coding challenges, with solutions carefully curated for various LeetCode problems, organized by topic and difficulty level. Whether you're gearing up for intense coding interviews or simply on a quest to level up your algorithmic prowess, you're in for a treat!
This repository is a treasure trove of solutions, and I've expressed my creativity in multiple programming languages, including but not limited to:
- 🖥️ C++
Each solution comes with a story, thoroughly documented, unveiling the approach, shedding light on time and space complexity, and sharing those magical key insights that make the problems conquerable. My code isn't just efficient, it's elegant too. Dive in, learn, and if you've got that itch to enhance or provide alternate solutions, I'm all ears! Feel free to open a pull request. Collaboration fuels our growth!
Contributions are the heartbeat of this repository! If you've got a mind-bending better solution, sniffed out a sneaky bug, or want to introduce a new challenge, don't hold back - submit that pull request. Just ensure you groove with our established coding style and shower us with a crystal-clear explanation of your solution. Together, we'll craft this repository into a haven for the entire LeetCode community.
This isn't a one-way street, it's a bustling marketplace of ideas! Got thoughts to share? Feedback to provide? I'm all ears, and my inbox is eagerly waiting. Ping me at prashantkumarrai8@gmail.com, and let's keep the flames of learning burning bright!
Now, enough chit-chat. Let's dive into these coding challenges and emerge as coding wizards! 🚀
| Problem Name | Difficulty |
|---|---|
| 1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph | |
| 2439-longest-cycle-in-a-graph |
| Problem Name | Difficulty |
|---|---|
| 0138-copy-list-with-random-pointer | |
| 0234-palindrome-linked-list | |
| 0859-design-circular-deque | |
| 1484-linked-list-in-binary-tree | |
| 2299-merge-nodes-in-between-zeros |
| Problem Name | Difficulty |
|---|---|
| 0984-most-stones-removed-with-same-row-or-column | |
| 1701-remove-max-number-of-edges-to-keep-graph-fully-traversable | |
| 1753-path-with-minimum-effort | |
| 2035-count-sub-islands |
| Problem Name | Difficulty |
|---|---|
| 0859-design-circular-deque | |
| 1951-find-the-winner-of-the-circular-game |
| Problem Name | Difficulty |
|---|---|
| 1511-count-number-of-teams |
| Problem Name | Difficulty |
|---|---|
| 0494-target-sum | |
| 1715-split-a-string-into-the-max-number-of-unique-substrings |
| Problem Name | Difficulty |
|---|---|
| 1691-minimum-number-of-days-to-disconnect-island |
| Problem Name | Difficulty |
|---|---|
| 0789-kth-largest-element-in-a-stream |
| Problem Name | Difficulty |
|---|---|
| 0789-kth-largest-element-in-a-stream |
| Problem Name | Difficulty |
|---|---|
| 0105-construct-binary-tree-from-preorder-and-inorder-traversal | |
| 0106-construct-binary-tree-from-inorder-and-postorder-traversal | |
| 0761-special-binary-string |
| Problem Name | Difficulty |
|---|---|
| 2503-longest-subarray-with-maximum-bitwise-and |
| Problem Name | Difficulty |
|---|---|
| 0241-different-ways-to-add-parentheses |
| Problem Name | Difficulty |
|---|---|
| 0214-shortest-palindrome | |
| 1508-longest-happy-prefix |
| Problem Name | Difficulty |
|---|---|
| 0028-find-the-index-of-the-first-occurrence-in-a-string | |
| 0214-shortest-palindrome | |
| 1508-longest-happy-prefix |
| Problem Name | Difficulty |
|---|---|
| 0214-shortest-palindrome | |
| 1508-longest-happy-prefix |
| Problem Name | Difficulty |
|---|---|
| 0715-range-module | |
| 0729-my-calendar-i | |
| 0731-my-calendar-ii | |
| 0732-my-calendar-iii | |
| 2357-count-integers-in-intervals |
| Problem Name | Difficulty |
|---|---|
| 0715-range-module | |
| 0729-my-calendar-i | |
| 0731-my-calendar-ii | |
| 0732-my-calendar-iii | |
| 2357-count-integers-in-intervals |
| Problem Name | Difficulty |
|---|---|
| 1620-check-if-array-pairs-are-divisible-by-k | |
| 1983-maximum-population-year | |
| 3872-find-most-frequent-vowel-and-consonant |
| Problem Name | Difficulty |
|---|---|
| 1977-minimum-interval-to-include-each-query |
| Problem Name | Difficulty |
|---|---|
| 2716-prime-subtraction-operation |
| Problem Name | Difficulty |
|---|---|
| 1679-shortest-subarray-to-be-removed-to-make-array-sorted |
| Problem Name | Difficulty |
|---|---|
| 1266-minimum-time-visiting-all-points | |
| 3278-find-the-number-of-ways-to-place-people-i |
| Problem Name | Difficulty |
|---|---|
| 3278-find-the-number-of-ways-to-place-people-i |