/project-leetcode

Primary LanguageC++MIT LicenseMIT

project-leetcode

The aim is to build and maintain a repository that has quality editorials to all the problems on LeetCode, no need to buy LeetCode Premium subscription.


Problems Solved

# Title Problem Statement Solution
1. Merge two Sorted Lists https://leetcode.com/problems/merge-two-sorted-lists/ in: C++, JAVA
2. Merge k Sorted Lists https://leetcode.com/problems/merge-k-sorted-lists/ in: C++
3. Sort List https://leetcode.com/problems/sort-list/ in: C++
4. Reverse a Linked List https://leetcode.com/problems/reverse-linked-list/ in: C++
5. Odd Even Linked List https://leetcode.com/problems/odd-even-linked-list/ in: C++
6. Reverse Nodes in k-groups https://leetcode.com/problems/reverse-nodes-in-k-group/ in: C++
7. Flatten Binary Tree to Linked List https://leetcode.com/problems/flatten-binary-tree-to-linked-list/ in: C++
8. Copy List with Random Pointer https://leetcode.com/problems/copy-list-with-random-pointer/ in: C++
9. Flatten a Multilevel Doubly Linked List https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list/ in: C++
10. Linked List cycle II https://leetcode.com/problems/linked-list-cycle-ii/ in: C++
11. Add Two Numbers https://leetcode.com/problems/add-two-numbers/ in: C++
12. Swap Nodes in pairs https://leetcode.com/problems/swap-nodes-in-pairs/ in: C++
13. Rotate List https://leetcode.com/problems/rotate-list/ in: C++
14. Partition List https://leetcode.com/problems/partition-list/ in: C++
15. Best time to buy and sell stock https://leetcode.com/problems/best-time-to-buy-and-sell-stock/ in: C++
16. Best time to buy and sell stock II https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/ in: C++
17. 132 Pattern https://leetcode.com/problems/132-pattern/ in: C++
18. Trapping Rain Water https://leetcode.com/problems/trapping-rain-water/ in: C++
19. Validate Binary Search Tree https://leetcode.com/problems/validate-binary-search-tree/ in: C++
20. Factorial Trailing Zeroes https://leetcode.com/problems/factorial-trailing-zeroes/ in: C++
21. Symmetric Tree https://leetcode.com/problems/symmetric-tree/ in: C++
22. Meeting Rooms III https://leetcode.com/problems/meeting-rooms-iii/ in: JAVA
23. Path Sum https://leetcode.com/problems/path-sum/ in: JAVA
24. Path Sum II https://leetcode.com/problems/path-sum-ii/ in: JAVA
25. Path Sum III https://leetcode.com/problems/path-sum-iii/ in: JAVA
26. Reverse Odd Levels of Binary Tree https://leetcode.com/problems/reverse-odd-levels-of-binary-tree/ in: JAVA
27. Minimum Money required before transactions https://leetcode.com/problems/minimum-money-required-before-transactions/ in: JAVA
28. Rotate Image https://leetcode.com/problems/rotate-image/ in: Python
29. Serialize and Deserialize Binary Tree https://leetcode.com/problems/serialize-and-deserialize-binary-tree/ in: Python
30. Bitwise AND of Numbers Range https://leetcode.com/problems/bitwise-and-of-numbers-range/ in: Python
31. Keys and Rooms https://leetcode.com/problems/keys-and-rooms/ in: Python
32. Encrypt and Decrypt Strings https://leetcode.com/problems/encrypt-and-decrypt-strings/ in: Python
33. Valid Sudoku https://leetcode.com/problems/valid-sudoku/ in: Python
34. Group Anagrams https://leetcode.com/problems/group-anagrams/ in: Python
35. Climbing Stairs https://leetcode.com/problems/climbing-stairs/ in: Python
36. Simplify Path https://leetcode.com/problems/simplify-path/ in: Python
37. Pow(x, n) https://leetcode.com/problems/powx-n/ in: Python
38. Longest Common Subsequence https://leetcode.com/problems/longest-common-subsequence/ in: Java
39. House Robber II https://leetcode.com/problems/house-robber-ii/ in: Java
40. Minimum Swaps To Make Sequences Increasing https://leetcode.com/problems/minimum-swaps-to-make-sequences-increasing/ in: Java
41. The Employee That Worked on the Longest Task https://leetcode.com/problems/the-employee-that-worked-on-the-longest-task/ in: Python
42. Find The Original Array of Prefix Xor https://leetcode.com/problems/find-the-original-array-of-prefix-xor/ in: Python
43. Using a Robot to Print the Lexicographically Smallest String https://leetcode.com/problems/using-a-robot-to-print-the-lexicographically-smallest-string/ in: Python

Contributors




A big Thanks to all the contributors! 🤍