Companies Qts & Topic wise Qts
Leetcode Problems and Solutions
10. Regular Expression Matching.java
1013. Partition Array Into Three Parts With Equal Sum.java
102. Binary Tree Level Order Traversal.java
103. Binary Tree Zigzag Level Order Traversal.java
104. Maximum Depth of Binary Tree.java
107. Binary Tree Level Order Traversal II.java
108. Convert Sorted Array to Binary Search Tree.java
109. Convert Sorted List to Binary Search Tree.java
11. Container With Most Water.java
110. Balanced Binary Tree.java
111. Minimum Depth of Binary Tree.java
114. Flatten Binary Tree to Linked List.java
116. Populating Next Right Pointers in Each Node.java
117. Populating Next Right Pointers in Each Node II.java
12. Integer to Roman.java
121. Best Time to Buy and Sell Stock.java
122. Best Time to Buy and Sell Stock II.java
125. Valid Palindrome.java
129. Sum Root to Leaf Numbers.java
13. Roman to Integer.java
130. Surrounded Regions.java
131. Palindrome Partitioning.java
138. Copy List with Random Pointer.java
14. Longest Common Prefix.java
141. Linked List Cycle.java
142. Linked List Cycle II.java
144. Binary Tree Preorder Traversal.java
145. Binary Tree Postorder Traversal.java
147. Insertion Sort List.java
151. Reverse Words in a String.java
152. Maximum Product Subarray.java
153. Find Minimum in Rotated Sorted Array.java
160. Intersection of Two Linked Lists.java
162. Find Peak Element.java
167. Two Sum II - Input array is sorted.java
169. Majority Element.java
17. Letter Combinations of a Phone Number.java
173. Binary Search Tree Iterator.java
175. Combine Two Tables.java
187. Repeated DNA Sequences.java
19. Remove Nth Node From End of List.java
191. Number of 1 Bits.java
193. Valid Phone Numbers.java
199. Binary Tree Right Side View.java
20. Valid Parentheses.java
200. Number of Islands.java
203. Remove Linked List Elements.java
205. Isomorphic Strings.java
206. Reverse Linked List.java
207. Course Schedule.java
208. Implement Trie (Prefix Tree).java
209. Minimum Size Subarray Sum.java
21. Merge Two Sorted Lists.java
210. Course Schedule II.java
213. House Robber II.java
215. Kth Largest Element in an Array.java
217. Contains Duplicate.java
219. Contains Duplicate II.java
22. Generate Parentheses.java
220. Contains Duplicate III.java
222. Count Complete Tree Nodes.java
225. Implement Stack using Queues.java
226. Invert Binary Tree.java
227. Basic Calculator II.java
23. Merge k Sorted Lists.java
230. Kth Smallest Element in a BST.java
232. Implement Queue using Stacks.java
234. Palindrome Linked List.java
235. Lowest Common Ancestor of a Binary Search Tree.java
236. Lowest Common Ancestor of a Binary Tree.java
237. Delete Node in a Linked List.java
238. Product of Array Except Self.java
24. Swap Nodes in Pairs.java
240. Search a 2D Matrix II.java
25. Reverse Nodes in k-Group.java
257. Binary Tree Paths.java
26. Remove Duplicates from Sorted Array.java
278. First Bad Version.java
279. Perfect Squares.java
28. Implement strStr().java
287. Find the Duplicate Number.java
29. Divide Two Integers.java
295. Find Median from Data Stream.java
297. Serialize and Deserialize Binary Tree.java
3. Longest Substring Without Repeating Characters.java
300. Longest Increasing Subsequence.java
301. Remove Invalid Parentheses.java
303. Range Sum Query - Immutable.java
304. Range Sum Query 2D - Immutable.java
31. Next Permutation.java
310. Minimum Height Trees.java
328. Odd Even Linked List.java
329. Longest Increasing Path in a Matrix.java
33. Search in Rotated Sorted Array.java
336. Palindrome Pairs.java
337. House Robber III.java
34. Find First and Last Position of Element in Sorted Array.java
341. Flatten Nested List Iterator.java
345. Reverse Vowels of a String.java
347. Top K Frequent Elements.java
349. Intersection of Two Arrays.java
35. Search Insert Position.java
350. Intersection of Two Arrays II.java
367. Valid Perfect Square.java
371. Sum of Two Integers.java
373. Find K Pairs with Smallest Sums.java
374. Guess Number Higher or Lower.java
378. Kth Smallest Element in a Sorted Matrix.java
380. Insert Delete GetRandom O(1).java
384. Shuffle an Array.java
387. First Unique Character in a String.java
389. Find the Difference.java
395. Longest Substring with At Least K Repeating Characters.java
40. Combination Sum II.java
402. Remove K Digits.java
414. Third Maximum Number.java
417. Pacific Atlantic Water Flow.java
42. Trapping Rain Water.java
429. N-ary Tree Level Order Traversal.java
43. Multiply Strings.java
430. Flatten a Multilevel Doubly Linked List.java
433. Minimum Genetic Mutation.java
434. Number of Segments in a String.java
438. Find All Anagrams in a String.java
443. String Compression.java
445. Add Two Numbers II.java
448. Find All Numbers Disappeared in an Array.java
451. Sort Characters By Frequency.java
459. Repeated Substring Pattern.java
461. Hamming Distance.java
463. Island Perimeter.java
468. Validate IP Address.java
473. Matchsticks to Square.java
476. Number Complement.java
482. License Key Formatting.java
485. Max Consecutive Ones.java
5. Longest Palindromic Substring.java
509. Fibonacci Number.java
513. Find Bottom Left Tree Value.java
515. Find Largest Value in Each Tree Row.java
524. Longest Word in Dictionary through Deleting.java
53. Maximum Subarray.java
530. Minimum Absolute Difference in BST.java
532. K-diff Pairs in an Array.java
535. Encode and Decode TinyURL.java
543. Diameter of Binary Tree.java
559. Maximum Depth of N-ary Tree.java
560. Subarray Sum Equals K.java
561. Array Partition I.java
563. Binary Tree Tilt.java
566. Reshape the Matrix.java
572. Subtree of Another Tree.java
58. Length of Last Word.java
581. Shortest Unsorted Continuous Subarray.java
583. Delete Operation for Two Strings.java
59. Spiral Matrix II.java
599. Minimum Index Sum of Two Lists.java
6. ZigZag Conversion.java
60. Permutation Sequence.java
605. Can Place Flowers.java
617. Merge Two Binary Trees.java
628. Maximum Product of Three Numbers.java
637. Average of Levels in Binary Tree.java
64. Minimum Path Sum.java
647. Palindromic Substrings.java
654. Maximum Binary Tree.java
657. Robot Return to Origin.java
658. Find K Closest Elements.java
671. Second Minimum Node In a Binary Tree.java
675. Cut Off Trees for Golf Event.java
690. Employee Importance.java
692. Top K Frequent Words.java
695. Max Area of Island.java
698. Partition to K Equal Sum Subsets.java
703. Kth Largest Element in a Stream.java
707. Design Linked List.java
712. Minimum ASCII Delete Sum for Two Strings.java
719. Find K-th Smallest Pair Distance.java
725. Split Linked List in Parts.java
73. Set Matrix Zeroes.java
739. Daily Temperatures.java
74. Search a 2D Matrix.java
743. Network Delay Time.java
746. Min Cost Climbing Stairs.java
767. Reorganize String.java
771. Jewels and Stones.java
787. Cheapest Flights Within K Stops.java
791. Custom Sort String.java
792. Number of Matching Subsequences.java
794. Valid Tic-Tac-Toe State.java
8. String to Integer (atoi).java
80. Remove Duplicates from Sorted Array II.java
804. Unique Morse Code Words.java
81. Search in Rotated Sorted Array II.java
814. Binary Tree Pruning.java
817. Linked List Components.java
819. Most Common Word.java
82. Remove Duplicates from Sorted List II.java
822. Card Flipping Game.java
825. Friends Of Appropriate Ages.java
83. Remove Duplicates from Sorted List.java
832. Flipping an Image.java
833. Find And Replace in String.java
84. Largest Rectangle in Histogram.java
842. Split Array into Fibonacci Sequence.java
844. Backspace String Compare.java
852. Peak Index in a Mountain Array.java
863. All Nodes Distance K in Binary Tree.java
872. Leaf-Similar Trees.java
876. Middle of the Linked List.java
88. Merge Sorted Array.java
880. Decoded String at Index.java
897. Increasing Order Search Tree.java
9. Palindrome Number.java
905. Sort Array By Parity.java
909. Snakes and Ladders.java
911. Online Election.java
92. Reverse Linked List II.java
929. Unique Email Addresses.java
93. Restore IP Addresses.java
934. Shortest Bridge.java
94. Binary Tree Inorder Traversal.java
946. Validate Stack Sequences.java
96. Unique Binary Search Trees.java
973. K Closest Points to Origin.java
976. Largest Perimeter Triangle.java
98. Validate Binary Search Tree.java
994. Rotting Oranges.java
Algorithms (S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani).pdf
Cormen_Algorithms_3rd.pdf
The Algorithm Design Manual by Steven S. Skiena.pdf
competitive programming by steven & felix halim.pdf
the-design-and-implementation-marshall-kirk-mckusick-george-v-neville-neil(www.ebook-dl.com).pdf
Folders and files Name Name Last commit message
Last commit date
parent directory
View all files
You can’t perform that action at this time.