# | Title | Solution | Difficulty |
---|---|---|---|
529 | Minesweeper | JAVA | Hard |
# | Title | Solution | Difficulty |
---|---|---|---|
146 | LRU Cache | JAVA | Hard |
460 | LFU Cache | JAVA | Hard |
173 | Binary Search Tree Iterator | JAVA | Medium |
232 | Implement Queue using Stacks | JAVA | Easy |
297 | Serialize and Deserialize Binary Tree | JAVA | Medium |
# | Title | Solution | Difficulty |
---|---|---|---|
217 | Contains Duplicate | JAVA | Easy |
219 | Contains Duplicate II | JAVA | Easy |
508 | MostFrequentSubtreeSum | [JAVA](./Hash Table/MostFrequentSubtreeSum) | Medium |
500 | Keyboard Row | [JAVA](./Hash Table/KeyboardRow.java) | Easy |
463 | Island Perimeter | [JAVA](./Hash Table/IslandPerimeter.java) | Easy |
447 | Number of Boomerangs | [JAVA](./Hash Table/NumberofBoomerangs.java) | Easy |
438 | Find All Anagrams in a String | [JAVA](./Hash Table/FindAllAnagramsinaString.java) | Easy |
454 | 4Sum II | [JAVA](./Hash Table/FourSumII.java) | Medium |
409 | Longest Palindrome | [JAVA](./Hash Table/LongestPalindrome.java) | Easy |
246 | Strobogrammatic Number | [JAVA](./Hash Table/StrobogrammaticNumber.java) | Easy |
359 | Logger Rate Limiter | [JAVA](./Hash Table/LoggerRateLimiter.java) | Easy |
535 | Encode and Decode TinyURL | [JAVA](./Hash Table/Codec.java) | Medium |
49 | Group Anagrams | [JAVA](./Hash Table/GroupAnagrams.java) | Medium |
# | Title | Solution | Difficulty |
---|---|---|---|
215 | Kth Largest Element in an Array | [JAVA](./Divide and Conquer/FindKthLargest.java) | Easy |
240 | Search a 2D Matrix II | [JAVA](./Divide and Conquer/Searcha2DMatrixII.java) | Medium |
# | Title | Solution | Difficulty |
---|---|---|---|
139 | Word Break | JAVA | Medium |
200 | Number of Islands | JAVA | Medium |
# | Title | Solution | Difficulty |
---|---|---|---|
141 | Linked List Cycle | [JAVA](./Linked List/LinkedListCycle.java) | Easy |
237 | Delete Node in a Linked List | [JAVA](./Linked List/DeleteNodeinaLinkedList.java) | Easy |
160 | Intersection of Two Linked Lists | [JAVA](./Linked List/IntersectionofTwoLinkedLists.java) | Easy |
83 | Remove Duplicates from Sorted List | [JAVA](./Linked List/DeleteDuplicates.java) | Easy |
203 | Remove Linked List Elements | [JAVA](./Linked List/RemoveElements.java) | Easy |
206 | Reverse Linked List | [JAVA](./Linked List/ReverseList.java) | Easy |
234 | Palindrome Linked List | [JAVA](./Linked List/IsPalindrome.java) | Easy |
21 | Merge Two Sorted Lists | [JAVA](./Linked List/MergeTwoSortedLists.java) | Easy |
61 | Rotate List | [JAVA](./Linked List/RotateList.java) | Medium |
138 | Copy List with Random Pointer | [JAVA](./Linked List/CopyListwithRandomPointer.java) | Medium |
2 | Add Two Numbers | [JAVA](./Linked List/AddTwoNumbers.java) | Medium |
# | Title | Solution | Difficulty |
---|---|---|---|
346 | Moving Average from Data Stream | JAVA | Easy |
199 | Binary Tree Right Side View | JAVA | Medium |
116 | Populating Next Right Pointers in Each Node | JAVA | Medium |
# | Title | Solution | Difficulty |
---|---|---|---|
9 | Palindrome Number | JAVA | Easy |
66 | Plus One | JAVA | Easy |
7 | Reverse Integer | JAVA | Easy |
168 | Excel Sheet Column Title | JAVA | Easy |
171 | Excel Sheet Column Number | JAVA | Easy |
372 | Super Pow | JAVA | medium |
400 | Nth Digit | JAVA | Easy |
204 | Count Primes | JAVA | Easy |
396 | Rotate Function | JAVA | Math |
371 | Sum of Two Integers | JAVA | Easy |
13 | SRoman to Integer | JAVA | Easy |
# | Title | Solution | Difficulty |
---|---|---|---|
125 | Valid Palindrome | JAVA | Easy |
344 | Reverse String | JAVA | Easy |
345 | Reverse Vowels of a String | JAVA | Easy |
67 | Add Binary | JAVA | Easy |
293 | Flip Game | JAVA | Easy |
520 | Detect Capital | JAVA | Easy |
387 | First Unique Character in a String | JAVA | Easy |
459 | Repeated Substring Pattern | JAVA | Easy |
415 | Add Strings | JAVA | Easy |
3 | Length Of Longest Substring | JAVA | Medium |
# | Title | Solution | Difficulty |
---|---|---|---|
342 | Power of Four | [JAVA](./Bit Manipulation/IsPowerOfFour.java) | Easy |
231 | Power of Two | [JAVA](./Bit Manipulation/IsPowerOfTwo.java) | Easy |
326 | Power of Three | [JAVA](./Bit Manipulation/IsPowerOfThree.java) | Easy |
191 | Number of 1 Bits | [JAVA](./Bit Manipulation/HammingWeight.java) | Easy |
461 | Hamming Distance | [JAVA](./Bit Manipulation/HammingDistance.java) | Easy |
401 | Binary Watch | [JAVA](./Bit Manipulation/BinaryWatch.java) | Easy |
190 | [Reverse Bits](https://leetcode.com/problems/reverse bits/?tab=Description) | [JAVA](./Bit Manipulation/ReverseBits.java) | Easy |
476 | Number Complement | [JAVA](./Bit Manipulation/NumberComplement.java) | Easy |
# | Title | Solution | Difficulty |
---|---|---|---|
278 | First Bad Version | [JAVA](./Binary Search/FirstBadVersion.java) | Easy |
365 | Valid Perfect Square | [JAVA](./Binary Search/IsPerfectSquare.java) | Easy |
441 | Arranging Coins | [JAVA](./Binary Search/ArrangeCoins.java) | Easy |
374 | Guess Number Higher or Lower | [JAVA](./Binary Search/GuessNumber.java) | Easy |
69 | Sqrt(x) | [JAVA](./Binary Search/Sqrtx.java) | Easy |
50 | Pow(x,n) | [JAVA](./Binary Search/powxn.java) | Medium |
74 | Search a 2D Matrix | [JAVA](./Binary Search/Searcha2DMatrix.java) | Medium |
# | Title | Solution | Difficulty |
---|---|---|---|
303 | Range Sum Query - Immutable | [JAVA](./Dynamic Programming/RangeSumQueryImmutable.java) | Easy |
304 | Range Sum Query 2D - Immutable | [JAVA](./Dynamic Programming/RangeSumQuery2DImmutable.java) | Medium |
198 | House Robber | [JAVA](./Dynamic Programming/HouseRobber.java) | Easy |
213 | House Robber II | [JAVA](./Dynamic Programming/HouseRobberII.java) | Medium |
70 | Climbing Stairs | [JAVA](./Dynamic Programming/ClimbingStairs.java) | Medium |
256 | Paint House | [JAVA](./Dynamic Programming/PaintHouse.java) | Medium |
265 | Paint House II | [JAVA](./Dynamic Programming/PaintHouseII.java) | Hard |
377 | Combination Sum IV | [JAVA](./Dynamic Programming/CombinationSum4.java) | Medium |
276 | Paint Fence | [JAVA](./Dynamic Programming/PaintFence.java) | Easy |
472 | Concatenated Words | [JAVA](./Dynamic Programming/ConcatenatedWords.java) | Hard |
# | Title | Solution | Difficulty |
---|---|---|---|
17 | Letter Combinations of a Phone Number | [JAVA](./Back Tracking/LetterCombinations.java) | Medium |
294 | Flip Game II | [JAVA](./Back Tracking/FlipGameII.java) | Medium |
39 | Combination Sum | [JAVA](./Back Tracking/CombinationSum.java) | Medium |
40 | Combination Sum II | [JAVA](./Back Tracking/CombinationSum2.java) | Medium |
216 | Combination Sum III | [JAVA](./Back Tracking/CombinationSum3.java) | Medium |
22 | Generate Parenthesis | [JAVA](./Back Tracking/CgenerateParenthesis.java) | Medium |
140 | Word Break II | [JAVA](./Back Tracking/word-break-ii.java) | Hard |
# | Title | Solution | Difficulty |
---|---|---|---|
475 | Heaters | [JAVA](./Two Pointers/heaters.java) | Easy |
532 | K-diff Pairs in an Array | [JAVA](./Two Pointers/KdiffPairsinanArray.java) | Easy |
# | Title | Solution | Difficulty |
---|---|---|---|
20 | Valid Parentheses | JAVA | Easy |
# | Title | Solution | Difficulty |
---|---|---|---|
213 | Binary Tree Level Order Traversal II | JAVA | Easy |
257 | Binary Tree Paths | JAVA | Easy |
113 | Path Sum II | JAVA | Medium |
112 | Path Sum | JAVA | Easy |
437 | Path Sum III | JAVA | Easy |
404 | Sum of Left Leaves | JAVA | Easy |
111 | Minimum Depth of Binary Tree | JAVA | Easy |
104 | Maximum Depth of Binary Tree | JAVA | Easy |
110 | Balanced Binary Tree | JAVA | Easy |
101 | Symmetric Tree | JAVA | Easy |
530 | Minimum Absolute Difference in BST | JAVA | Easy |
235 | Lowest Common Ancestor of a Binary Search Tree | JAVA | Easy |
536 | Construct Binary Tree from String | JAVA | Medium |