Skip to content

About

Collection of LeetCode questions to ace the coding interview! - Created using [LeetVault](https://github.com/PARTHDEVX2904/LeetVault)

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1,254 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetVault

Accepted LeetCode solutions, auto-synced by LeetVault.

277 problems solved.

# Problem Difficulty Topics Languages
3 Longest Substring Without Repeating Characters Medium Java
4 Median of Two Sorted Arrays Hard C++
5 Longest Palindromic Substring Medium C++
6 Zigzag Conversion Medium C++
7 Reverse Integer Medium C++
8 String to Integer (atoi) Medium C++
11 Container With Most Water Medium C++
12 Integer to Roman Medium C++
14 Longest Common Prefix Easy C++
16 3Sum Closest Medium C++
18 4Sum Medium C++
19 Remove Nth Node From End of List Medium C++
20 Valid Parentheses Easy C++
22 Generate Parentheses Medium C++
23 Merge k Sorted Lists Hard C++
26 Remove Duplicates from Sorted Array Easy C++
29 Divide Two Integers Medium C++
30 Substring with Concatenation of All Words Hard C++
31 Next Permutation Medium C++
32 Longest Valid Parentheses Hard C++
36 Valid Sudoku Medium C++
37 Sudoku Solver Hard C++
42 Trapping Rain Water Hard C++
49 Group Anagrams Medium C++
50 Pow(x, n) Medium C++
53 Maximum Subarray Medium C++
54 Spiral Matrix Medium C++
55 Jump Game Medium C++
56 Merge Intervals Medium C++
62 Unique Paths Medium C++
63 Unique Paths II Medium C++
64 Minimum Path Sum Medium C++
70 Climbing Stairs Easy C++
73 Set Matrix Zeroes Medium C++
75 Sort Colors Medium C++
78 Subsets Medium C++
79 Word Search Medium C++
80 Remove Duplicates from Sorted Array II Medium C++
88 Merge Sorted Array Easy Python
90 Subsets II Medium C++
94 Binary Tree Inorder Traversal Easy C++
98 Validate Binary Search Tree Medium C++
100 Same Tree Easy C++
101 Symmetric Tree Easy C++
102 Binary Tree Level Order Traversal Medium C++
103 Binary Tree Zigzag Level Order Traversal Medium C++
104 Maximum Depth of Binary Tree Easy C++
105 Construct Binary Tree from Preorder and Inorder Traversal Medium C++
106 Construct Binary Tree from Inorder and Postorder Traversal Medium C++
107 Binary Tree Level Order Traversal II Medium C++
108 Convert Sorted Array to Binary Search Tree Easy C++
109 Convert Sorted List to Binary Search Tree Medium C++
110 Balanced Binary Tree Easy C++
111 Minimum Depth of Binary Tree Easy C++
112 Path Sum Easy C++
113 Path Sum II Medium C++
114 Flatten Binary Tree to Linked List Medium C++
116 Populating Next Right Pointers in Each Node Medium C++
117 Populating Next Right Pointers in Each Node II Medium C++
118 Pascal's Triangle Easy C++
119 Pascal's Triangle II Easy C++
120 Triangle Medium C++
121 Best Time to Buy and Sell Stock Easy C++
122 Best Time to Buy and Sell Stock II Medium C++
124 Binary Tree Maximum Path Sum Hard C++
129 Sum Root to Leaf Numbers Medium C++
130 Surrounded Regions Medium C++
133 Clone Graph Medium C++
134 Gas Station Medium C++
137 Single Number II Medium C++
141 Linked List Cycle Easy C++
142 Linked List Cycle II Medium C++
143 Reorder List Medium C++
145 Binary Tree Postorder Traversal Easy C++
162 Find Peak Element Medium C++
169 Majority Element Easy C++
175 Combine Two Tables Easy mysql
179 Largest Number Medium C++
183 Customers Who Never Order Easy mysql
197 Rising Temperature Easy mysql
198 House Robber Medium C++
199 Binary Tree Right Side View Medium C++
200 Number of Islands Medium C++
205 Isomorphic Strings Easy Python3
207 Course Schedule Medium C++
209 Minimum Size Subarray Sum Medium C++
210 Course Schedule II Medium C++
213 House Robber II Medium C++
215 Kth Largest Element in an Array Medium C++
226 Invert Binary Tree Easy C++
230 Kth Smallest Element in a BST Medium C++
235 Lowest Common Ancestor of a Binary Search Tree Medium C++
236 Lowest Common Ancestor of a Binary Tree Medium C++
238 Product of Array Except Self Medium C++
241 Different Ways to Add Parentheses Medium C++
257 Binary Tree Paths Easy C++
274 H-Index Medium C++
275 H-Index II Medium C++
283 Move Zeroes Easy C++
295 Find Median from Data Stream Hard C++
297 Serialize and Deserialize Binary Tree Hard C++
322 Coin Change Medium C++
328 Odd Even Linked List Medium C++
334 Increasing Triplet Subsequence Medium Python3
337 House Robber III Medium C++
349 Intersection of Two Arrays Easy C++
386 Lexicographical Numbers Medium C++
390 Elimination Game Medium C++
392 Is Subsequence Easy C++
397 Integer Replacement Medium C++
404 Sum of Left Leaves Easy C++
406 Queue Reconstruction by Height Medium C++
409 Longest Palindrome Easy C++
410 Split Array Largest Sum Hard C++
416 Partition Equal Subset Sum Medium C++
419 Battleships in a Board Medium C++
435 Non-overlapping Intervals Medium Python3
450 Delete Node in a BST Medium C++
451 Sort Characters By Frequency Medium C++
452 Minimum Number of Arrows to Burst Balloons Medium C++
455 Assign Cookies Easy C++
462 Minimum Moves to Equal Array Elements II Medium C++
473 Matchsticks to Square Medium C++
494 Target Sum Medium C++
523 Continuous Subarray Sum Medium C++
525 Contiguous Array Medium C++
542 01 Matrix Medium C++
543 Diameter of Binary Tree Easy C++
547 Number of Provinces Medium C++
570 Managers with at Least 5 Direct Reports Medium mysql
572 Subtree of Another Tree Easy C++
577 Employee Bonus Easy mysql
584 Find Customer Referee Easy mysql
595 Big Countries Easy mysql
624 Maximum Distance in Arrays Medium C++
628 Maximum Product of Three Numbers Easy C++
630 Course Schedule III Hard C++
678 Valid Parenthesis String Medium C++
684 Redundant Connection Medium C++
695 Max Area of Island Medium C++
701 Insert into a Binary Search Tree Medium C++
703 Kth Largest Element in a Stream Easy C++
733 Flood Fill Easy C++
735 Asteroid Collision Medium C++
743 Network Delay Time Medium C++
746 Min Cost Climbing Stairs Easy C++
785 Is Graph Bipartite? Medium C++
787 Cheapest Flights Within K Stops Medium C++
802 Find Eventual Safe States Medium C++
853 Car Fleet Medium C++
856 Score of Parentheses Medium C++
881 Boats to Save People Medium C++
913 Cat and Mouse Hard C++
921 Minimum Add to Make Parentheses Valid Medium C++
938 Range Sum of BST Easy C++
940 Distinct Subsequences II Hard C++
973 K Closest Points to Origin Medium C++
987 Vertical Order Traversal of a Binary Tree Hard C++
994 Rotting Oranges Medium C++
1020 Number of Enclaves Medium C++
1021 Remove Outermost Parentheses Easy C++
1037 Valid Boomerang Easy Python3
1046 Last Stone Weight Easy C++
1068 Product Sales Analysis I Easy mysql
1091 Shortest Path in Binary Matrix Medium C++
1143 Longest Common Subsequence Medium C++
1148 Article Views I Easy mysql
1190 Reverse Substrings Between Each Pair of Parentheses Medium C++
1209 Remove All Adjacent Duplicates in String II Medium C++
1260 Shift 2D Grid Easy C++
1280 Students and Examinations Easy mysql
1325 Delete Leaves With a Given Value Medium C++
1378 Replace Employee ID With The Unique Identifier Easy mysql
1386 Cinema Seat Allocation Medium C++
1448 Count Good Nodes in Binary Tree Medium C++
1451 Rearrange Words in a Sentence Medium C++
1462 Course Schedule IV Medium C++
1464 Maximum Product of Two Elements in an Array Easy C++
1491 Average Salary Excluding the Minimum and Maximum Salary Easy Python3
1492 The kth Factor of n Medium C++
1541 Minimum Insertions to Balance a Parentheses String Medium C++
1561 Maximum Number of Coins You Can Get Medium C++
1581 Customer Who Visited but Did Not Make Any Transactions Easy mysql
1614 Maximum Nesting Depth of the Parentheses Easy C++
1631 Path With Minimum Effort Medium C++
1637 Widest Vertical Area Between Two Points Containing No Points Easy C++
1661 Average Time of Process per Machine Easy mysql
1683 Invalid Tweets Easy mysql
1757 Recyclable and Low Fat Products Easy mysql
1922 Count Good Numbers Medium C++
1927 Sum Game Medium C++
1934 Confirmation Rate Medium mysql
1976 Number of Ways to Arrive at Destination Medium C++
2058 Find the Minimum and Maximum Number of Nodes Between Critical Points Medium C++
2089 Find Target Indices After Sorting Array Easy C++
2091 Removing Minimum and Maximum From Array Medium C++
2149 Rearrange Array Elements by Sign Medium C++
2243 Calculate Digit Sum of a String Easy C++
2265 Count Nodes Equal to Average of Subtree Medium C++
2333 Minimum Sum of Squared Difference Medium C++
2405 Optimal Partition of String Medium C++
2409 Count Days Spent Together Easy C++
2486 Append Characters to String to Make Subsequence Medium C++
2498 Frog Jump II Medium Python3
2618 Check if Object Instance of Class Medium JavaScript
2620 Counter Easy JavaScript
2657 Find the Prefix Common Array of Two Arrays Medium Python3
2778 Sum of Squares of Special Elements Easy C++
2839 Check if Strings Can be Made Equal With Operations I Easy C++
2870 Minimum Number of Operations to Make Array Empty Medium C++
2904 Shortest and Lexicographically Smallest Beautiful String Medium Python3
2913 Subarrays Distinct Element Sum of Squares I Easy C++
2914 Minimum Number of Changes to Make Binary String Beautiful Medium C++
2942 Find Words Containing Character Easy Python3
2948 Make Lexicographically Smallest Array by Swapping Elements Medium C++
2958 Length of Longest Subarray With at Most K Frequency Medium C++
2974 Minimum Number Game Easy C++
2996 Smallest Missing Integer Greater Than Sequential Prefix Sum Easy C++
3014 Minimum Number of Pushes to Type Word I Easy C++
3016 Minimum Number of Pushes to Type Word II Medium C++
3069 Distribute Elements Into Two Arrays I Easy C++
3090 Maximum Length Substring With Two Occurrences Easy C++
3116 Kth Smallest Amount With Single Denomination Combination Hard C++
3310 Remove Methods From Project Medium C++
3324 Find the Sequence of Strings Appeared on the Screen Medium C++
3345 Smallest Divisible Digit Product I Easy C++
3414 Maximum Score of Non-overlapping Intervals Hard C++
3471 Find the Largest Almost Missing Integer Easy C++
3483 Unique 3-Digit Even Numbers Easy C++
3513 Number of Unique XOR Triplets I Medium C++
3517 Smallest Palindromic Rearrangement I Medium C++
3536 Maximum Product of Two Digits Easy C++
3550 Smallest Index With Digit Sum Equal to Index Easy C++
3622 Check Divisibility by Digit Sum and Product Easy C++
3702 Longest Subsequence With Non-Zero Bitwise XOR Medium C++
3718 Smallest Missing Multiple of K Easy C++
3720 Lexicographically Smallest Permutation Greater Than Target Medium C++
3731 Find Missing Elements Easy C++
3734 Lexicographically Smallest Palindromic Permutation Greater Than Target Hard C++
3736 Minimum Moves to Equal Array Elements III Easy C++
3760 Maximum Substrings With Distinct Start Medium Python3
3842 Toggle Light Bulbs Easy C++
3870 Count Commas in Range Easy C++
3871 Count Commas in Range II Medium C++
3875 Construct Uniform Parity Array I Easy C++
3876 Construct Uniform Parity Array II Medium C++
3903 Smallest Stable Index I Easy C++
3904 Smallest Stable Index II Medium C++
3963 Create Grid With Exactly One Path Easy C++
3994 Minimum Adjacent Swaps to Partition Array Medium C++
3996 Even Number of Knight Moves Easy C++
4006 Count Valid Prefixes Easy C++
4007 Widest Possible Fence Medium C++
4010 Maximize Pair Strength Using GCD Easy C++
4011 Count Subarrays With Even Odd Ratio I Medium C++
4014 Minimum Total Price After Applying Discounts Medium C++
4020 Elevator Requests I Easy C++
4021 Minimum Operations to Make a Rotated Palindrome I Medium C++
4024 Nearest Available Drone Easy C++
4030 Check ASCII Palindromic Easy C++
4031 Find All Numbers Disappeared in an Array II Medium C++
4032 Longest Subarray With at Most K Distinct Prime Factors Medium C++
4036 Lexicographically Largest String After Pair Transformations Medium C++
4038 Count Integers Appearing in a Single Block Easy C++
4039 Sum of Decoded Numbers Medium C++
4061 Minimum Queen Moves to Reach Target Easy Java, C++
4062 Transform Array Using Pair Operations Medium C++
4065 Rearrange Array by Removing Distinct Values Easy C++
4070 Minimum Rotations to Dial a Number I Easy C++
4111 Count Consistent Subarrays I Easy C++
101099 Aggregate Two Time Series Medium C++
101114 Largest Integer With Given Digit Sum Easy C++
101127 Lexicographically Largest String After Pair Transformations Medium C++
101151 Minimum Bishop Moves to Reach Target Medium C++
101171 Count Rotations With Exactly K Equal Adjacent Pairs Easy C++
101172 Count Good Cyclic Rotations Medium C++
101210 Three Fibonacci Sum Easy C++

About

Collection of LeetCode questions to ace the coding interview! - Created using [LeetVault](https://github.com/PARTHDEVX2904/LeetVault)

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages