A job at MAANG comes with global acknowledgment, huge opportunities for growth and exposure, hefty salary packages, and perks. Due to these excellent career opportunities, MAANG companies tempt all career-seekers.
The interview is one of the most grueling phases of a job seeker’s life. In fact, the interview process at Facebook, Apple, Amazon, Netflix, and Google, among many other top tech companies, is unlike anything that job seekers have ever experienced. Not only are the applications notoriously difficult, but their interviews are wild.
The most coveted career goals of all tech graduates are to get a job at FAANG (Facebook, Amazon, Apple, Netflix & Google) companies. This is mainly because their work culture is quite balanced and directed towards maximum productivity. Along with that their career growth options and trajectory are fascinating and the astounding salary just adds a cherry on top of the icing.
You can practice the below MAANG Interview Questions for the interview. We have collected past MAANG Interview Questions for your reference.
| S.No | Interview Question | Number of times asked |
|---|
| 1 | Two Sum Leetcode Solution | 43597 |
| 2 | Maximum occurring character in a string | 19753 |
| 3 | Plus One Leetcode Solution | 19315 |
| 4 | Valid Parentheses LeetCode Solution | 19216 |
| 5 | 3Sum Leetcode Solution | 17200 |
| 6 | Merge Sorted Arrays Leetcode Solution | 15308 |
| 7 | First Repeating Element | 15182 |
| 8 | Single Number Leetcode Solution | 14872 |
| 9 | Count Primes Leetcode Solutions | 14671 |
| 10 | Pow(x, n) Leetcode Solution | 14351 |
| 11 | Sqrt(x) Leetcode Solution | 14182 |
| 12 | Meeting Rooms II LeetCode Solution | 13298 |
| 13 | Concatenation of Array LeetCode Solution | 12783 |
| 14 | Roman to Integer Leetcode Solution | 11970 |
| 15 | Valid Palindrome Leetcode Solution | 11853 |
| 16 | Search Insert Position Leetcode Solution | 11777 |
| 17 | Contains Duplicate II Leetcode Solution | 11760 |
| 18 | Palindrome Number LeetCode Solution | 11574 |
| 19 | Remove Duplicates from Sorted Array Leetcode Solution | 11445 |
| 20 | Jump Game Leetcode Solution | 11181 |
| 21 | Reverse Vowels of a String Leetcode Solution | 11162 |
| 22 | Intersection of Two Arrays II Leetcode Solution | 11063 |
| 23 | Longest Substring Without Repeating Characters LeetCode Solution | 11056 |
| 24 | Number of Good Pairs Leetcode Solution | 10923 |
| 25 | Spiral Matrix LeetCode Solution | 10840 |
| 26 | Kids With the Greatest Number of Candies Leetcode Solution | 10781 |
| 27 | House Robber Leetcode Solution | 10740 |
| 28 | Add Binary Leetcode Solution | 10633 |
| 29 | Maximum Subarray Leetcode Solution | 10244 |
| 30 | Number Of 1 bits | 10128 |
| 31 | Find the Maximum Repeating Number in Array | 9992 |
| 32 | Text Justification LeetCode Solution | 9872 |
| 33 | Move Zeroes LeetCode Solution | 9796 |
| 34 | Jewels and Stones Leetcode Solution | 9764 |
| 35 | Min Stack Leetcode Solution | 9654 |
| 36 | Power of Two Leetcode Solution | 9553 |
| 37 | Longest Palindromic Substring LeetCode Solution | 9523 |
| 38 | Shuffle String Leetcode Solution | 9450 |
| 39 | Permutations Leetcode Solution | 9407 |
| 40 | Third Maximum Number Leetcode Solution | 9299 |
| 41 | Evaluation of Postfix Expression | 9296 |
| 42 | Word Search Leetcode Solution | 9286 |
| 43 | Daily Temperatures Leetcode Solution | 9275 |
| 44 | Find All Numbers Disappeared in an Array Leetcode Solution | 9268 |
| 45 | Median of Two Sorted Arrays LeetCode Solution | 9197 |
| 46 | Next Permutation Leetcode Solution | 9174 |
| 47 | Search in Rotated Sorted Array Leetcode Solution | 9132 |
| 48 | Number of Islands LeetCode Solution | 9050 |
| 49 | Kth Missing Positive Number Leetcode Solution | 9020 |
| 50 | Maximum Profit in Job Scheduling Leetcode Solution | 9015 |
| 51 | Longest Common Prefix Leetcode Solution | 8939 |
| 52 | Next Greater Element I Leetcode Solution | 8920 |
| 53 | Frog Jump Leetcode Solution | 8751 |
| 54 | Valid Anagram Leetcode Solution | 8648 |
| 55 | Find Minimum Distance Between Two Numbers in an Array | 8602 |
| 56 | Running Sum of 1d Array Leetcode Solution | 8562 |
| 57 | Rotate Image LeetCode Solution | 8534 |
| 58 | Shuffle the Array Leetcode Solution | 8507 |
| 59 | Multiply Strings Leetcode Solution | 8481 |
| 60 | Can Place Flowers LeetCode Solution | 8446 |
| 61 | Combination Sum Leetcode Solution | 8443 |
| 62 | Count and Say Leetcode Solution | 8409 |
| 63 | House Robber II Leetcode Solution | 8393 |
| 64 | 3Sum Closest LeetCode Solution | 8313 |
| 65 | Bulb Switcher LeetCode Solution | 8297 |
| 66 | Best Time to Buy and Sell Stock LeetCode Solution | 8151 |
| 67 | Koko Eating Bananas Leetcode Solution | 8148 |
| 68 | Excel Sheet Column Title Leetcode Solution | 8122 |
| 69 | Happy Number Leetcode Solution | 8079 |
| 70 | Subarray and Subsequence | 8071 |
| 71 | Isomorphic Strings Leetcode Solution | 8069 |
| 72 | Majority Element Leetcode Solution | 7982 |
| 73 | Count Pairs With Given Sum | 7948 |
| 74 | Integer to Roman Leetcode Solution | 7931 |
| 75 | Candy LeetCode Solution | 7917 |
| 76 | Missing Number Leetcode Solution | 7904 |
| 77 | Product of array except self | 7888 |
| 78 | Rotate String LeetCode Solution | 7832 |
| 79 | Strobogrammatic Number LeetCode Solution | 7801 |
| 80 | A Product Array Puzzle | 7798 |
| 81 | Reverse String Without Temporary Variable | 7713 |
| 82 | Is Subsequence Leetcode Solution | 7687 |
| 83 | Find the Difference Leetcode Solution | 7661 |
| 84 | Binary Search LeetCode Solution | 7652 |
| 85 | Find the Duplicate Number LeetCode Solution | 7633 |
| 86 | Expression Evaluation | 7608 |
| 87 | Find Common Characters Leetcode Solution | 7594 |
| 88 | Largest Number Leetcode Solution | 7576 |
| 89 | Subtract the Product and Sum of Digits of an Integer Leetcode Solution | 7489 |
| 90 | String to Integer (atoi) LeetCode Solution | 7440 |
| 91 | How Many Numbers Are Smaller Than the Current Number Leetcode Solution | 7417 |
| 92 | Subset Leetcode | 7400 |
| 93 | Summary Ranges Leetcode Solution | 7341 |
| 94 | Rabin Karp Algorithm | 7321 |
| 95 | Set Matrix Zeroes | 7319 |
| 96 | Word Pattern LeetCode Solution | 7258 |
| 97 | Sort Characters By Frequency LeetCode Solution | 7243 |
| 98 | Balanced Binary Tree Leetcode Solution | 7229 |
| 99 | Find the Town Judge Leetcode Solution | 7201 |
| 100 | Arranging Coins Leetcode Solution | 7143 |
| 101 | Unique Paths Leetcode Solution | 7133 |
| 102 | Find the Winner of the Circular Game LeetCode Solution | 7123 |
| 103 | Rearrange Positive and Negative Numbers Alternatively in Array | 7067 |
| 104 | String Compression LeetCode Solution | 7016 |
| 105 | Group Anagrams LeetCode Solution | 7000 |
| 106 | Postfix to Infix Conversion | 6985 |
| 107 | Asteroid Collision LeetCode Solution | 6980 |
| 108 | Repeated Substring Pattern LeetCode Solution | 6916 |
| 109 | Page Replacement Algorithms in Operating Systems | 6915 |
| 110 | Smallest window in a string containing all characters of another string | 6889 |
| 111 | Sort Colors LeetCode Solution | 6830 |
| 112 | Best Time to Buy and Sell Stock II Leetcode Solution | 6828 |
| 113 | Matrix Chain Multiplication using Dynamic Programming | 6824 |
| 114 | Zigzag Conversion LeetCode Solution | 6680 |
| 115 | Sort Array By Parity LeetCode Solution | 6679 |
| 116 | Divide Two Integers Leetcode Solution | 6643 |
| 117 | Kth largest element in an Array Leetcode Solutions | 6637 |
| 118 | Valid Palindrome II Leetcode Solution | 6634 |
| 119 | Generate Parentheses Leetcode Solution | 6631 |
| 120 | Sum of minimum and maximum elements of all subarrays of size k | 6622 |
| 121 | Assign Cookies Leetcode Solution | 6539 |
| 122 | Reverse Integer Leetcode Solution | 6503 |
| 123 | Remove Duplicates from Sorted Array II Leetcode Solution | 6498 |
| 124 | Find the Row with Maximum Number of 1’s | 6495 |
| 125 | Decode String Leetcode Solution | 6476 |
| 126 | Length of Last Word Leetcode Solution | 6463 |
| 127 | Product of Array Except Self LeetCode Solution | 6462 |
| 128 | Pascal Triangle Leetcode | 6440 |
| 129 | H-Index Leetcode Solution | 6404 |
| 130 | Bus Routes Leetcode Solution | 6398 |
| 131 | Number of Provinces Leetcode Solution | 6377 |
| 132 | Merge Two Sorted Lists Leetcode Solutions | 6365 |
| 133 | Convert array into Zig-Zag fashion | 6285 |
| 134 | Linked List Cycle II LeetCode Solution | 6280 |
| 135 | Prefix to Infix Conversion | 6279 |
| 136 | Minimum Cost For Tickets Leetcode Solution | 6277 |
| 137 | Minimum Steps to reach target by a Knight | 6274 |
| 138 | Defanging an IP Address Leetcode Solution | 6264 |
| 139 | Optimal Account Balancing LeetCode Solution | 6256 |
| 140 | Employee Free Time LeetCode Solution | 6255 |
| 141 | Pascal’s Triangle II Leetcode Solution | 6154 |
| 142 | Find First and Last Position of Element in Sorted Array Leetcode Solution | 6135 |
| 143 | First element occurring k times in an array | 6091 |
| 144 | Increasing Triplet Subsequence LeetCode Solution | 6076 |
| 145 | Implementation of Deque using Doubly Linked List | 6076 |
| 146 | Merge Sorted Array LeetCode Solution | 6064 |
| 147 | Island Perimeter Leetcode Solution | 6057 |
| 148 | Build Array From Permutation Leetcode Solution | 6045 |
| 149 | Majority Element II Leetcode Solution | 6021 |
| 150 | Robot Room Cleaner Leetcode Solution | 5999 |
| 151 | Bellman Ford Algorithm | 5974 |
| 152 | Max Consecutive Ones Leetcode Solution | 5960 |
| 153 | OSI Model | 5948 |
| 154 | Swap Nodes in Pairs Leetcode Solutions | 5918 |
| 155 | Find Pair with Given Difference | 5913 |
| 156 | Check if the Elements of an Array are Consecutive | 5908 |
| 157 | KMP Algorithm | 5900 |
| 158 | Set Matrix Zeroes Leetcode Solution | 5892 |
| 159 | K-th Smallest Element in a Sorted Matrix | 5874 |
| 160 | Guess Number Higher or Lower LeetCode Solution | 5862 |
| 161 | Add Two Numbers II Leetcode Solution | 5857 |
| 162 | Find the Missing Number | 5850 |
| 163 | First negative integer in every window of size k | 5819 |
| 164 | Boolean Parenthesization Problem | 5812 |
| 165 | Trapping Rain Water Leetcode Solution | 5810 |
| 166 | Fibonacci Number LeetCode Solution | 5803 |
| 167 | Lemonade Change Leetcode Solution | 5798 |
| 168 | Subarray Sum Equals K LeetCode Solution | 5797 |
| 169 | Design Parking System Leetcode Solution | 5790 |
| 170 | Delete middle element of a stack | 5768 |
| 171 | First Unique Character in a String LeetCode Solution | 5737 |
| 172 | Word Ladder LeetCode Solution | 5732 |
| 173 | Coin Change 2 Leetcode Solution | 5706 |
| 174 | Length of the largest subarray with contiguous elements | 5697 |
| 175 | Find All Duplicates in an Array LeetCode Solution | 5696 |
| 176 | Subarray with Given Sum | 5694 |
| 177 | Last Stone Weight | 5693 |
| 178 | Subarray Product Less Than K LeetCode Solution | 5686 |
| 179 | Monotonic Array LeetCode Solution | 5684 |
| 180 | String Compression | 5676 |
| 181 | Capacity To Ship Packages Within D Days Leetcode Solution | 5674 |
| 182 | Palindrome Linked List Leetcode Solution | 5656 |
| 183 | Repeated Substring Pattern | 5609 |
| 184 | Form Minimum Number from Given Sequence of D’s and I’s | 5600 |
| 185 | Single Element in a Sorted Array LeetCode Solution | 5591 |
| 186 | Find Smallest Missing Number in a Sorted Array | 5577 |
| 187 | 01 Matrix LeetCode Solution | 5531 |
| 188 | Remove Duplicates from Sorted List II LeetCode Solution | 5528 |
| 189 | Combinations Leetcode Solution | 5522 |
| 190 | Prefix to Postfix Conversion | 5502 |
| 191 | Continuous Subarray Sum LeetCode Solution | 5492 |
| 192 | Valid Perfect Square Leetcode Solution | 5458 |
| 193 | Reverse Words in a String III LeetCode Solution | 5452 |
| 194 | Iterative Implementation of Quick Sort | 5446 |
| 195 | Combination Sum | 5439 |
| 196 | Same Tree LeetCode Solution | 5429 |
| 197 | Break a Palindrome LeetCode Solution | 5416 |
| 198 | Leetcode Permutations | 5408 |
| 199 | Merge k Sorted Lists Leetcode Solution | 5374 |
| 200 | Remove Linked List Elements Leetcode Solution | 5368 |
| 201 | Slowest Key Leetcode Solution | 5338 |
| 202 | Relative Ranks Leetcode Solution | 5336 |
| 203 | Top K Frequent Elements LeetCode Solution | 5331 |
| 204 | Container With Most Water LeetCode Solution | 5317 |
| 205 | Backspace String Compare | 5306 |
| 206 | Insert Delete GetRandom O(1) Leetcode Solution | 5295 |
| 207 | Rotate List Leetcode Solution | 5295 |
| 208 | Maximum Product of Three Numbers LeetCode Solution | 5290 |
| 209 | Find Peak Element LeetCode Solution | 5284 |
| 210 | Contains Duplicate LeetCode Solution | 5267 |
| 211 | Find the Duplicate Element | 5227 |
| 212 | The K Weakest Rows in a Matrix Leetcode Solution | 5209 |
| 213 | Cuckoo sequence program | 5205 |
| 214 | Printing brackets in Matrix Chain Multiplication Problem | 5185 |
| 215 | Kth Largest Element in a Stream Leetcode Solution | 5176 |
| 216 | Second Most Repeated Word in a Sequence | 5161 |
| 217 | Subarray Sum Equals k | 5149 |
| 218 | Palindrome Number | 5145 |
| 219 | Longest Common Subsequence LeetCode Solution | 5144 |
| 220 | Remove All Occurrences of a Substring LeetCode Solution | 5126 |
| 221 | Max Area of Island | 5094 |
| 222 | Rearrange given Array in Maximum Minimum Form | 5094 |
| 223 | Permutation in String Leetcode Solution | 5084 |
| 224 | Find Leaders in an Array | 5084 |
| 225 | Relative Sort Array Leetcode Solution | 5082 |
| 226 | Make The String Great Leetcode Solution | 5072 |
| 227 | Generate all Binary Strings Without Consecutive 1’s | 5057 |
| 228 | Convert a Number to Hexadecimal Leetcode Solution | 5056 |
| 229 | Arithmetic Expression Evaluation | 5055 |
| 230 | Unique Paths II Leetcode Solution | 5051 |
| 231 | Check If Two String Arrays are Equivalent Leetcode Solution | 5022 |
| 232 | Delete Node in a Linked List Leetcode Solution | 5019 |
| 233 | Target Sum | 5016 |
| 234 | N-Queens LeetCode Solution | 5005 |
| 235 | Scramble String | 4993 |
| 236 | Construct Binary Tree from Given Inorder and Preorder Traversals | 4990 |
| 237 | Moving Average from Data Stream Leetcode Solution | 4989 |
| 238 | Time Based Key-Value Store LeetCode Solution | 4986 |
| 239 | Letter Combinations of a Phone Number | 4967 |
| 240 | Count Good Nodes in Binary Tree Leetcode Solution | 4951 |
| 241 | Next Permutation | 4943 |
| 242 | Number of Dice Rolls With Target Sum LeetCode Solution | 4938 |
| 243 | LRU Cache LeetCode Solution | 4931 |
| 244 | Find Triplet in Array With a Given Sum | 4921 |
| 245 | Stone Game LeetCode | 4912 |
| 246 | Find N Unique Integers Sum up to Zero Leetcode Solution | 4901 |
| 247 | Check If N and Its Double Exist Leetcode Solution | 4897 |
| 248 | Given two unsorted arrays find all pairs whose sum is x | 4888 |
| 249 | Flipping an Image LeetCode Solution | 4846 |
| 250 | Number of Steps to Reduce a Number to Zero Leetcode Solution | 4846 |
| 251 | Prim’s Algorithm | 4833 |
| 252 | Minimum swaps required to bring all elements less than or equal to k together | 4816 |
| 253 | Remove Minimum Characters so that Two Strings Become Anagrams | 4802 |
| 254 | Stock Buy Sell to Maximize Profit | 4794 |
| 255 | Top K Frequent Elements | 4793 |
| 256 | Minimum Operations to convert X to Y | 4786 |
| 257 | Reverse Only Letters LeetCode Solution | 4783 |
| 258 | Find The Duplicate Number | 4780 |
| 259 | Min Stack | 4775 |
| 260 | Min Cost Climbing Stairs LeetCode Solution | 4771 |
| 261 | Minimum Knight Moves LeetCode Solution | 4766 |
| 262 | Student Attendance Record I Leetcode Solution | 4758 |
| 263 | To Lower Case Leetcode Solution | 4718 |
| 264 | Smallest Positive Number Missing in an Unsorted Array | 4708 |
| 265 | Single Number | 4703 |
| 266 | Maximum Sum Increasing Subsequence | 4700 |
| 267 | Maximum Subarray Sum using Divide and Conquer | 4680 |
| 268 | The kth Factor of n Leetcode Solution | 4675 |
| 269 | License Key Formatting Leetcode Solution | 4669 |
| 270 | Reverse words in a string | 4669 |
| 271 | Maximum Population Year LeetCode Solution | 4638 |
| 272 | Longest Common Subsequence | 4591 |
| 273 | Find the Number Occurring Odd Number of Times in an Array | 4575 |
| 274 | Remove Nth Node From End of List Leetcode Solution | 4571 |
| 275 | Top K Frequent Words LeetCode Solution | 4569 |
| 276 | Search Suggestions System LeetCode Solution | 4568 |
| 277 | Special Array With X Elements Greater Than or Equal X Leetcode Solution | 4560 |
| 278 | Reformat Date LeetCode Solution | 4540 |
| 279 | BFS for Disconnected Graph | 4537 |
| 280 | Find Words That Can Be Formed by Characters Leetcode Solution | 4530 |
| 281 | Sum of Subarray Ranges Leetcode Solution | 4524 |
| 282 | Pairs of Songs With Total Durations Divisible by 60 LeetCode Solution | 4506 |
| 283 | Minimum Path Sum Leetcode Solution | 4506 |
| 284 | Maximum Depth of Binary Tree Leetcode Solution | 4488 |
| 285 | Reveal Cards In Increasing Order Leetcode Solution | 4468 |
| 286 | Intersection of Two Arrays | 4446 |
| 287 | N-th Tribonacci Number Leetcode Solution | 4443 |
| 288 | Best Time to Buy and Sell Stock III Leetcode Solution | 4437 |
| 289 | House Robber | 4430 |
| 290 | Reverse individual words | 4419 |
| 291 | Evaluate Division | 4409 |
| 292 | Diagonal Traverse LeetCode Solution | 4408 |
| 293 | Sort Elements by Frequency of Occurrences | 4403 |
| 294 | Maximize Distance to Closest Person LeetCode Solution | 4402 |
| 295 | Find any one of the multiple repeating elements in read only array | 4398 |
| 296 | Maximum Size Subarray Sum Equals k Leetcode Solution | 4390 |
| 297 | Last Stone Weight II LeetCode Solution | 4388 |
| 298 | Minimum Characters to be Added at Front to Make String Palindrome | 4378 |
| 299 | Design A Leaderboard Leetcode Solution | 4375 |
| 300 | Find if Path Exists in Graph Leetcode Solution | 4364 |
| 301 | Count Number of Occurrences in a Sorted Array | 4362 |
| 302 | Reverse Nodes in k-Group LeetCode Solution | 4361 |
| 303 | Remove Duplicates from Sorted List LeetCode Solution | 4356 |
| 304 | Count of index pairs with equal elements in an array | 4349 |
| 305 | Binary Tree Inorder Traversal LeetCode Solution | 4348 |
| 306 | Most Frequent Element in an Array | 4348 |
| 307 | Length of Longest valid Substring | 4347 |
| 308 | Range Sum Query 2D – Immutable Leetcode Solution | 4339 |
| 309 | Sudoku Solver | 4328 |
| 310 | Minimum number of Merge Operations to make an Array Palindrome | 4316 |
| 311 | Implement a stack using single queue | 4304 |
| 312 | Remove All Ones With Row and Column Flips Leetcode Solution | 4303 |
| 313 | Find Index of Closing Bracket for a Given Opening Bracket in an Expression | 4286 |
| 314 | Find the Closest Palindrome number | 4265 |
| 315 | Brightest Position on Street LeetCode Solution | 4245 |
| 316 | Mobile Numeric Keypad Problem | 4244 |
| 317 | Split Linked List in Parts Leetcode Solution | 4235 |
| 318 | Spiral Matrix II Leetcode Solution | 4235 |
| 319 | Find Leaves of Binary Tree LeetCode Solution | 4231 |
| 320 | Partition Array Into Three Parts With Equal Sum Leetcode Solution | 4227 |
| 321 | Special Positions in a Binary Matrix Leetcode Solution | 4226 |
| 322 | Reverse Bits | 4210 |
| 323 | Invalid Transactions LeetCode Solution | 4197 |
| 324 | Shortest Word Distance Leetcode Solution | 4186 |
| 325 | Paint House LeetCode Solution | 4185 |
| 326 | Maximum Subarray | 4183 |
| 327 | Symmetric Tree Leetcode Solution | 4182 |
| 328 | Arrange given Numbers to Form the Biggest Number II | 4175 |
| 329 | Diagonal Traversal LeetCode Solution | 4142 |
| 330 | Sort Array By Parity II Leetcode Solution | 4140 |
| 331 | Round Robin Scheduling | 4134 |
| 332 | Find Duplicates in an Array in Most Efficient Way | 4131 |
| 333 | Dijkstra Algorithm | 4122 |
| 334 | One Edit Distance LeetCode Solution | 4115 |
| 335 | Rank Transform of an Array Leetcode Solution | 4095 |
| 336 | Largest Rectangle in Histogram LeetCode Solution | 4094 |
| 337 | Partition Labels LeetCode Solution | 4087 |
| 338 | Remove Invalid Parentheses Leetcode Solution | 4087 |
| 339 | Hamming Distance Leetcode Solution | 4085 |
| 340 | Binary Tree Zigzag Level Order Traversal LeetCode Solution | 4074 |
| 341 | Alien Dictionary LeetCode Solution | 4073 |
| 342 | Jump Game | 4073 |
| 343 | Unique Paths | 4073 |
| 344 | Maximal Square | 4062 |
| 345 | Tug of War | 4059 |
| 346 | Minimum Moves to Equal Array Elements Leetcode Solution | 4049 |
| 347 | String Matching in an Array Leetcode Solution | 4049 |
| 348 | Minimum Time to Collect All Apples in a Tree LeetCode Solution | 4029 |
| 349 | The Celebrity Problem | 4028 |
| 350 | Find Winner on a Tic Tac Toe Game Leetcode Solution | 4021 |
| 351 | Next Permutation LeetCode Solution | 4016 |
| 352 | Construct BST from its given Level Order Traversal | 4011 |
| 353 | Lowest Common Ancestor of a Binary Tree Leetcode Solution | 4007 |
| 354 | Bitwise AND of Numbers Range LeetCode Solution | 4004 |
| 355 | Least Number of Unique Integers after K Removals Leetcode Solution | 4004 |
| 356 | Minimum operation to make all elements equal in array | 4002 |
| 357 | Range Sum of BST LeetCode Solution | 4001 |
| 358 | Validate Stack Sequences LeetCode Solution | 3994 |
| 359 | Postfix to Prefix Conversion | 3986 |
| 360 | Merge Two Sorted Linked Lists | 3983 |
| 361 | Minimum Depth of Binary Tree Leetcode Solution | 3981 |
| 362 | Unique Paths III LeetCode Solution | 3979 |
| 363 | Pair of Positive Negative Values in an Array | 3978 |
| 364 | Given an Array of Pairs Find all Symmetric Pairs in it | 3974 |
| 365 | Smallest Subarray with k Distinct Numbers | 3970 |
| 366 | Recursion | 3969 |
| 367 | Longest Common Prefix using Trie | 3967 |
| 368 | Count of Triplets With Sum Less than Given Value | 3964 |
| 369 | Maximum Circular Subarray Sum | 3961 |
| 370 | Maximum Length of a Concatenated String with Unique Characters Leetcode Solution | 3957 |
| 371 | Transpose Graph | 3957 |
| 372 | Minimum Time Visiting All Points Leetcode Solution | 3953 |
| 373 | Invert Binary Tree LeetCode Solution | 3941 |
| 374 | Check whether Strings are K Distance Apart or Not | 3932 |
| 375 | Minimum Number of Steps to Make Two Strings Anagram Leetcode Solutions | 3928 |
| 376 | Minimum Cost to Hire K Workers | 3920 |
| 377 | K Empty Slots LeetCode | 3916 |
| 378 | Substring with Concatenation of All Words Leetcode Solution | 3912 |
| 379 | Robot Bounded In Circle LeetCode Solution | 3911 |
| 380 | Next Greater Element III LeetCode Solution | 3911 |
| 381 | Clone Graph LeetCode Solution | 3903 |
| 382 | Find minimum difference between any two elements | 3903 |
| 383 | Check if a given array contains duplicate elements within k distance from each other | 3897 |
| 384 | Longest Substring with At Most K Distinct Characters LeetCode Solution | 3885 |
| 385 | Kruskal Algorithm | 3885 |
| 386 | Ugly Number II LeetCode Solution | 3880 |
| 387 | Implementation of Deque using circular array | 3877 |
| 388 | Sort a stack using a temporary stack | 3863 |
| 389 | Regular Expression Matching Regular Expression Matching LeetCode Solution | 3857 |
| 390 | Minimize Maximum Pair Sum in Array LeetCode Solution | 3856 |
| 391 | Stack Permutations (Check if an array is stack permutation of other) | 3846 |
| 392 | Invert Binary Tree LeetCode Solution | 3845 |
| 393 | Toeplitz Matrix | 3843 |
| 394 | Longest subarray not having more than K distinct elements | 3842 |
| 395 | Sliding Window Technique | 3840 |
| 396 | Graph Valid Tree LeetCode Solution | 3839 |
| 397 | Non-decreasing Array LeetCode Solution | 3839 |
| 398 | Longest subsequence such that difference between adjacents is one | 3836 |
| 399 | LRU Cache Implementation | 3832 |
| 400 | Find the First and Second Smallest Elements | 3832 |
| 401 | Permutation Sequence LeetCode Solution | 3829 |
| 402 | Word Search | 3829 |
| 403 | Find the subarray with least average | 3825 |
| 404 | Convert Sorted Array to Binary Search Tree LeetCode Solutions | 3819 |
| 405 | 3 Sum | 3819 |
| 406 | Best Time to Buy and Sell Stock with Cooldown Leetcode Solution | 3811 |
| 407 | Kth Smallest Element in a BST Leetcode Solution | 3807 |
| 408 | Design Browser History LeetCode Solution | 3804 |
| 409 | Missing Element in Sorted Array LeetCode Solution | 3796 |
| 410 | Find the Smallest Divisor given a Threshold Leetcode Solution | 3793 |
| 411 | Find duplicates in a given array when elements are not limited to a range | 3784 |
| 412 | Number of Islands II LeetCode Solution | 3778 |
| 413 | Priority Queue using doubly linked list | 3773 |
| 414 | Number Complement Leetcode Solution | 3772 |
| 415 | Stone Game II Leetcode | 3772 |
| 416 | Queries for counts of array elements with values in given range | 3767 |
| 417 | Partition List Leetcode Solution | 3766 |
| 418 | Common elements in all rows of a given matrix | 3766 |
| 419 | Top View of Binary Tree | 3765 |
| 420 | K Closest Points to Origin Leetcode Solution | 3760 |
| 421 | Max stack | 3759 |
| 422 | First Circular Tour to Visit all the Petrol Bunks | 3759 |
| 423 | Path With Maximum Minimum Value LeetCode Solution | 3757 |
| 424 | Find Top K (or Most Frequent) Numbers in a Stream | 3756 |
| 425 | LRU Cache Leetcode Solution | 3746 |
| 426 | Number of Smaller Elements on Right Side | 3745 |
| 427 | Maximum Number of Occurrences of a Substring Leetcode Solution | 3740 |
| 428 | Minesweeper LeetCode Solution | 3739 |
| 429 | Find the Peak Element from an Array | 3736 |
| 430 | Sequences of given length where every element is more than or equal to twice of previous | 3734 |
| 431 | Find Maximum Level sum in Binary Tree | 3734 |
| 432 | Search a 2D Matrix II Leetcode Solution | 3725 |
| 433 | Combination Sum IV LeetCode Solution | 3723 |
| 434 | Painting Fence Algorithm | 3723 |
| 435 | Snakes and Ladders LeetCode Solution | 3720 |
| 436 | Nth Catalan Number | 3720 |
| 437 | Can Make Arithmetic Progression From Sequence Leetcode Solution | 3717 |
| 438 | Fibonacci Number LeetCode Solution | 3709 |
| 439 | Sort elements by frequency | 3709 |
| 440 | Integer Break LeetCode Solution | 3705 |
| 441 | High Five LeetCode Solution | 3694 |
| 442 | 4Sum | 3692 |
| 443 | Sliding Window Maximum LeetCode Solution | 3685 |
| 444 | Maximum Consecutive Numbers Present in an Array | 3679 |
| 445 | Insert Interval Leetcode Solution | 3674 |
| 446 | Odd Even Linked List Leetcode Solution | 3671 |
| 447 | Find Minimum in Rotated Sorted Array II LeetCode Solution | 3669 |
| 448 | Longest Palindrome can be Formed by Removing or Rearranging Characters | 3667 |
| 449 | Rearrange array such that even positioned are greater than odd | 3666 |
| 450 | Check if Two given Strings are Isomorphic to each other | 3664 |
| 451 | Flood Fill LeetCode | 3662 |
| 452 | Count items common to both the lists but with different prices | 3658 |
| 453 | Shortest Palindrome | 3654 |
| 454 | Distance of nearest cell having 1 in a binary matrix | 3651 |
| 455 | Tiling Problem | 3649 |
| 456 | Consecutive Characters LeetCode Solution | 3648 |
| 457 | Move All the Zeros to the End of the Given Array | 3647 |
| 458 | Search in a Binary Search Tree Leetcode Solution | 3637 |
| 459 | Gold Mine Problem | 3637 |
| 460 | Design a stack that supports getMin() in O(1) time and O(1) extra space | 3621 |
| 461 | Insert into a Binary Search Tree Leetcode Solution | 3608 |
| 462 | Kth Non-repeating Character | 3606 |
| 463 | Expression Contains Redundant Bracket or Not | 3600 |
| 464 | Spiral Matrix III LeetCode Solution | 3598 |
| 465 | Number of Closed Islands Leetcode Solution | 3593 |
| 466 | N queen problem | 3593 |
| 467 | Replace Elements with Greatest Element on Right Side Leetcode Solution | 3591 |
| 468 | Find a Peak Element II LeetCode Solution | 3586 |
| 469 | Interval Tree | 3581 |
| 470 | Minimum Absolute Difference in BST Leetcode Solution | 3580 |
| 471 | Decompress Run-Length Encoded List Leetcode Solution | 3579 |
| 472 | Trapping Rain Water LeetCode Solution | 3569 |
| 473 | Coin Change Problem | 3565 |
| 474 | Check If Array Pairs Are Divisible by k LeetCode Solution | 3562 |
| 475 | Queries for GCD of all numbers of an array except elements in a given range | 3562 |
| 476 | Longest Common Prefix using Sorting | 3561 |
| 477 | Integer to English words | 3559 |
| 478 | Minimum Path Sum | 3559 |
| 479 | Sliding Window Median Leetcode Solution | 3554 |
| 480 | Evaluate Reverse Polish Notation LeetCode Solution | 3552 |
| 481 | Restore IP Addresses Leetcode Solution | 3549 |
| 482 | Convert Sorted Array to Binary Search Tree Leetcode Solution | 3547 |
| 483 | Sort Colors | 3542 |
| 484 | Sort an array according to the order defined by another array | 3534 |
| 485 | Binary Tree Maximum Path Sum LeetCode Solution | 3531 |
| 486 | Find Pythagorean Triplets from Array | 3531 |
| 487 | Find All Possible Recipes from Given Supplies LeetCode Solution | 3525 |
| 488 | Sorting array using Stacks | 3523 |
| 489 | Balanced Expression with Replacement | 3523 |
| 490 | Majority Element | 3508 |
| 491 | Rearrange an array in order – smallest, largest, 2nd smallest, 2nd largest | 3501 |
| 492 | Reverse a linked list | 3498 |
| 493 | Palindrome Substring Queries | 3495 |
| 494 | Best Time to Buy and Sell Stock | 3494 |
| 495 | Vertical Order Traversal of Binary Tree LeetCode Solution | 3492 |
| 496 | Priority Queue in C++ | 3490 |
| 497 | Cells with Odd Values in a Matrix LeetCode Solution | 3487 |
| 498 | Fibonacci numbers | 3478 |
| 499 | Subset sum problem | 3476 |
| 500 | Number of Days Between Two Dates LeetCode Solution | 3464 |
| 501 | Find Median from Data Stream LeetCode Solution | 3462 |
| 502 | Queue using Stacks | 3455 |
| 503 | Camelcase Matching Leetcode Solution | 3452 |
| 504 | Path Sum II LeetCode Solution | 3451 |
| 505 | The Stock Span Problem | 3450 |
| 506 | Path Crossing Leetcode Solution | 3447 |
| 507 | Find the first Repeating Number in a Given Array | 3442 |
| 508 | Multiplication of Two Matrices | 3440 |
| 509 | Minimum Number of Taps to Open to Water a Garden LeetCode Solution | 3439 |
| 510 | Is Graph Bipartite? LeetCode Solution | 3435 |
| 511 | Sieve of Eratosthenes | 3435 |
| 512 | Design Hit Counter LeetCode Solution | 3431 |
| 513 | How to Implement Stack Using Priority Queue or Heap? | 3415 |
| 514 | Largest rectangular sub-matrix whose sum is 0 | 3412 |
| 515 | Intersection of Two Linked Lists LeetCode Solution | 3411 |
| 516 | Kth ancestor of a node in binary tree | 3411 |
| 517 | Analyze User Website Visit Pattern LeetCode Solution | 3407 |
| 518 | Longest Increasing Path in a Matrix LeetCode Solution | 3407 |
| 519 | Custom Sort String Leetcode Solution | 3401 |
| 520 | Divide Chocolate LeetCode Solution | 3400 |
| 521 | Shortest Completing Word Leetcode Solution | 3399 |
| 522 | Pancake Sorting Problem | 3398 |
| 523 | Monotonic Array Leetcode Solution | 3381 |
| 524 | Different Ways to Add Parentheses Leetcode Solution | 3377 |
| 525 | Count Submatrices With All Ones LeetCode Solution | 3377 |
| 526 | Find a Fixed Point in a Given Array | 3376 |
| 527 | Count subarrays having total distinct elements same as original array | 3375 |
| 528 | Generate all Binary Strings from Given Pattern | 3372 |
| 529 | Best Time to Buy and Sell Stock with Transaction Fee Leetcode Solution | 3370 |
| 530 | Check if Array Contains Contiguous Integers With Duplicates Allowed | 3368 |
| 531 | Detect a loop in the Linked List | 3366 |
| 532 | Scramble String LeetCode Solution | 3365 |
| 533 | Group Anagrams | 3364 |
| 534 | Determine Whether Matrix Can Be Obtained By Rotation LeetCode Solution | 3352 |
| 535 | Perfect Squares LeetCode Solution | 3343 |
| 536 | Minimum Height Trees | 3343 |
| 537 | Queue based approach for first non-repeating character in a stream | 3337 |
| 538 | Valid Boomerang Leetcode Solution | 3333 |
| 539 | Construction of Longest Increasing Subsequence (N log N) | 3332 |
| 540 | Shifting Letters LeetCode Solution | 3331 |
| 541 | Implement strStr() LeetCode Solution | 3327 |
| 542 | Morris Traversal | 3327 |
| 543 | Merge Overlapping Intervals | 3322 |
| 544 | Decode Ways | 3322 |
| 545 | Implement Trie (Prefix Tree) Leetcode Solution | 3315 |
| 546 | How to Create Mergable Stack? | 3315 |
| 547 | Nearest Exit from Entrance in Maze LeetCode Solution | 3313 |
| 548 | Number of Distinct Islands Leetcode Solution | 3311 |
| 549 | Maximum Element in an Array which is Increasing and then Decreasing | 3310 |
| 550 | Letter Case Permutation | 3306 |
| 551 | Reorder Data in Log Files LeetCode Solution | 3305 |
| 552 | Find maximum length Snake sequence | 3299 |
| 553 | Binary Tree zigzag level order Traversal | 3295 |
| 554 | Race Car LeetCode Solution | 3294 |
| 555 | Sliding Window Maximum | 3291 |
| 556 | Sort a stack using recursion | 3289 |
| 557 | Champagne Tower LeetCode Solution | 3288 |
| 558 | Best Time to Buy and Sell Stock IV LeetCode Solution | 3284 |
| 559 | Maximum Sum of Non Consecutive Elements | 3284 |
| 560 | LCS (Longest Common Subsequence) of three strings | 3281 |
| 561 | Longest Common Prefix using Divide and Conquer | 3280 |
| 562 | First missing positive | 3279 |
| 563 | Find the Lost Element From a Duplicated Array | 3279 |
| 564 | Most Stones Removed with Same Row or Column LeetCode Solution | 3278 |
| 565 | Find if an Expression has Duplicate Parenthesis or Not | 3274 |
| 566 | Number of Equivalent Domino Pairs Leetcode Solution | 3273 |
| 567 | Insert Node in the Sorted Linked List | 3272 |
| 568 | Count Possible Triangles | 3267 |
| 569 | Recover Binary Search Tree | 3266 |
| 570 | Design Skiplist LeetCode Solution | 3258 |
| 571 | Build an Array With Stack Operations Leetcode Solution | 3258 |
| 572 | Decode String | 3257 |
| 573 | Palindrome Permutation LeetCode Solution | 3242 |
| 574 | Smallest Good Base | 3237 |
| 575 | Make Two Arrays Equal by Reversing Sub-arrays Leetcode Solution | 3233 |
| 576 | Minimum Bracket Reversals | 3228 |
| 577 | Find a Sorted Subsequence of size 3 | 3225 |
| 578 | Contiguous Array LeetCode Solution | 3222 |
| 579 | Largest Subarray with Equal Number of 0’s and 1’s | 3221 |
| 580 | All Possible Full Binary Trees LeetCode Solution | 3219 |
| 581 | Guess Number Higher or Lower II | 3218 |
| 582 | Longest Repeated Subsequence | 3218 |
| 583 | Rectangle Overlap LeetCode Solution | 3217 |
| 584 | Merge Two Binary Trees LeetCode Solution | 3212 |
| 585 | Recover Binary Search Tree Leetcode Solution | 3209 |
| 586 | Distance Between Bus Stops Leetcode Solution | 3202 |
| 587 | Longest Substring with At Least K Repeating Characters LeetCode Solution | 3200 |
| 588 | Maximum Length of Chain Pairs | 3197 |
| 589 | Find the Town Judge LeetCode Solution | 3195 |
| 590 | Maximum Depth of N-ary Tree Leetcode Solution | 3195 |
| 591 | Find the two Numbers with Odd Occurrences in an Unsorted Array | 3195 |
| 592 | Palindrome Partitioning Leetcode Solution | 3193 |
| 593 | Maximum Number of Ways to Partition an Array LeetCode Solution | 3188 |
| 594 | Minimum Height Trees LeetCode Solution | 3187 |
| 595 | Print all Palindromic Partitions of a String | 3181 |
| 596 | Group Multiple Occurrence of Array Elements Ordered by first Occurrence | 3170 |
| 597 | K-th Distinct Element in an Array | 3169 |
| 598 | Rearrange Spaces Between Words Leetcode Solution | 3168 |
| 599 | Minimum number of jumps to reach end | 3168 |
| 600 | Implement Two Stacks in an Array | 3168 |
| 601 | Design a Stack With Increment Operation Leetcode Solution | 3166 |
| 602 | Check for Balanced Parentheses in an Expression | 3158 |
| 603 | Valid Parentheses Leetcode Solution | 3156 |
| 604 | Reorder an Array According to the Given Indexes | 3152 |
| 605 | The Maze III LeetCode Solution | 3150 |
| 606 | Subarrays with K Different Integers Leetcode Solution | 3136 |
| 607 | Mean of Array After Removing Some Elements Leetcode Solution | 3131 |
| 608 | Sort a String According to Another String | 3126 |
| 609 | Jump Game IV LeetCode Solution | 3123 |
| 610 | Maximum sum rectangle in a 2D matrix | 3117 |
| 611 | Maximum Score After Splitting a String Leetcode Solution | 3114 |
| 612 | Maximize Elements Using Another Array | 3113 |
| 613 | Find the First Circular Tour that visits all the Petrol Pumps | 3104 |
| 614 | Count pair with Given Sum | 3103 |
| 615 | Contains Duplicate | 3094 |
| 616 | Perform String Shifts Leetcode | 3091 |
| 617 | Heap Sort | 3088 |
| 618 | Lowest Common Ancestor of a Binary Search Tree Leetcode Solution | 3083 |
| 619 | Word Break | 3081 |
| 620 | Valid Sudoku | 3080 |
| 621 | Convert BST to Min Heap | 3078 |
| 622 | Iterative Method to find Height of Binary Tree | 3066 |
| 623 | Find the Minimum Element in a Sorted and Rotated Array | 3065 |
| 624 | Possible Bipartition LeetCode Solution | 3064 |
| 625 | A Space Optimized DP solution for 0-1 Knapsack Problem | 3062 |
| 626 | Edit Distance LeetCode Solution | 3058 |
| 627 | Palindrome Permutations of a String | 3056 |
| 628 | Minimum Jumps to Reach Home LeetCode Solution | 3054 |
| 629 | Merge Overlapping Intervals II | 3053 |
| 630 | Find First and Last Position of Element in Sorted Array LeetCode Solution | 3046 |
| 631 | Find Largest Value in Each Tree Row LeetCode Solution | 3037 |
| 632 | Count Sub Islands LeetCode Solution | 3033 |
| 633 | Reach a Number LeetCode Solution | 3021 |
| 634 | Segregate 0s and 1s in an Array | 3018 |
| 635 | Maximum Product of Splitted Binary Tree LeetCode Solution | 3016 |
| 636 | Palindromic Substrings Leetcode Solution | 3015 |
| 637 | Best Meeting Point LeetCode Solution | 3015 |
| 638 | Palindrome Permutation | 3014 |
| 639 | Number of palindromic paths in a matrix | 3009 |
| 640 | All Unique Triplets that Sum up to a Given Value | 3008 |
| 641 | Huffman Coding | 3007 |
| 642 | Merge Two Balanced Binary Search Trees | 3000 |
| 643 | Find the Subarray of given length with Least Average | 2998 |
| 644 | My Calendar I LeetCode Solution | 2986 |
| 645 | Pair with given product | 2984 |
| 646 | Caesar Cipher | 2983 |
| 647 | Check if the given array can represent Level Order Traversal of Binary Search Tree | 2980 |
| 648 | Sorted Linked List to Balanced BST | 2976 |
| 649 | Level order Traversal in Spiral Form | 2976 |
| 650 | Find Median from data Stream | 2972 |
| 651 | Word Pattern | 2962 |
| 652 | Brick Wall LeetCode Solution | 2960 |
| 653 | Find all triplets with zero sum | 2959 |
| 654 | Construct BST from given Preorder Traversal | 2957 |
| 655 | Partition Problem | 2947 |
| 656 | Swapping Nodes in a Linked List Leetcode Solution | 2942 |
| 657 | Count Good Nodes in Binary Tree LeetCode Solution | 2940 |
| 658 | Number of Subsequences That Satisfy the Given Sum Condition LeetCode solution | 2933 |
| 659 | Merge K Sorted Arrays and Print Sorted Output | 2933 |
| 660 | Validate Binary Search Tree | 2926 |
| 661 | Print Fibonacci sequence using 2 variables | 2922 |
| 662 | Alien Dictionary | 2919 |
| 663 | Add two numbers | 2915 |
| 664 | Find whether a subarray is in form of a mountain or not | 2913 |
| 665 | Maximize Sum of Array after K Negations Leetcode Solution | 2909 |
| 666 | Convert Sorted List to Binary Search Tree | 2907 |
| 667 | Minimum time required to rot all oranges | 2905 |
| 668 | Isomorphic Strings LeetCode Solution | 2903 |
| 669 | Count Distinct Elements in Every Window of Size K | 2900 |
| 670 | Shortest Path in a Grid with Obstacles Elimination LeetCode Solution | 2895 |
| 671 | Queries on Probability of Even or Odd Number in given Ranges | 2894 |
| 672 | Find all pairs (a, b) in an array such that a % b = k | 2894 |
| 673 | Rearrange Array such that arr[i] >= arr[j] if i is even and arr[i] <= arr[j] if i is odd and j < i | 2892 |
| 674 | How to Efficiently Implement k Stacks in a Single Array? | 2892 |
| 675 | Largest Sum Contiguous Subarray | 2888 |
| 676 | Sort 0s 1s and 2s in an Array | 2887 |
| 677 | Breadth First Search (BFS) for a Graph | 2884 |
| 678 | Detect Capital Leetcode Solution | 2881 |
| 679 | Range Sum Query 2D – Immutable LeetCode Solution | 2879 |
| 680 | Rotate Array | 2878 |
| 681 | Find Zeros to be Flipped so that Number of Consecutive 1’s is Maximized | 2878 |
| 682 | Maximum Frequency Stack Leetcode Solution | 2877 |
| 683 | Longest Subarray Having Count of 1s One More than Count of 0s | 2876 |
| 684 | Bubble sort using two Stacks | 2876 |
| 685 | Filter Restaurants by Vegan-Friendly, Price and Distance Leetcode Solution | 2871 |
| 686 | Split Array Into Consecutive Subsequences | 2869 |
| 687 | Find four elements that sum to a given value (Hashmap) | 2858 |
| 688 | Counting Bits | 2857 |
| 689 | Binary Tree Right Side View LeetCode Solution | 2856 |
| 690 | Maximum Number of Chocolates to be Distributed Equally Among k Students | 2854 |
| 691 | Remove brackets from an algebraic string containing + and – operators | 2848 |
| 692 | Length of Longest Fibonacci Subsequence | 2848 |
| 693 | Binary Tree to Binary Search Tree Conversion | 2836 |
| 694 | Count ways to reach the nth stair using step 1, 2 or 3 | 2831 |
| 695 | Minimum Swaps to Group All 1’s Together Leetcode Solution | 2829 |
| 696 | Difference Array | Range update query in O(1) | 2829 |
| 697 | Partition to K Equal Sum Subsets Leetcode Solution | 2819 |
| 698 | Remove Palindromic Subsequences Leetcode Solution | 2818 |
| 699 | Print all subarrays with 0 sum | 2817 |
| 700 | Merge Two Sorted Lists Leetcode | 2816 |
| 701 | Remove duplicates from sorted array | 2807 |
| 702 | Populating Next Right Pointers in Each Node | 2805 |
| 703 | Find pairs with given sum such that elements of pair are in different rows | 2803 |
| 704 | Partition Equal Subset Sum | 2802 |
| 705 | Populating Next Right Pointers in Each Node Leetcode Solution | 2795 |
| 706 | Topological Sorting | 2795 |
| 707 | Minimum Sum Path in a Triangle | 2793 |
| 708 | String comparison containing wildcards | 2791 |
| 709 | Happy Number | 2790 |
| 710 | Elements Appear more than N/K times in Array | 2783 |
| 711 | Arithmetic Slices II – Subsequence LeetCode Solution | 2779 |
| 712 | Check if a Linked list of Strings form a Palindrome | 2774 |
| 713 | Queue Reconstruction by Height | 2773 |
| 714 | Contiguous Array Leetcode | 2767 |
| 715 | Concatenation of Array LeetCode Solution | 2766 |
| 716 | Web Crawler LeetCode Solution | 2761 |
| 717 | Find All Pairs With a Given Difference | 2757 |
| 718 | Reverse Nodes in K-Group | 2749 |
| 719 | Inorder Successor of a node in Binary Tree | 2745 |
| 720 | Find Duplicate Subtrees | 2732 |
| 721 | Minimum Number of Arrows to Burst Balloons LeetCode Solution | 2731 |
| 722 | Increasing Subsequence of Length three with Maximum Product | 2730 |
| 723 | Root to Leaf path with target sum Leetcode Solutions | 2721 |
| 724 | Maximum Distance in Array | 2717 |
| 725 | Swap Kth Node from beginning with Kth Node from End | 2716 |
| 726 | Finding K closest element | 2709 |
| 727 | Check if String Follows Order of Characters by a Pattern or not | 2704 |
| 728 | Symmetric Tree | 2703 |
| 729 | Minimum Swaps to Make Strings Equal Leetcode Solution | 2701 |
| 730 | Score of Parenthesis LeetCode Solution | 2699 |
| 731 | Maximum Product Subarray II | 2695 |
| 732 | Climbing stairs | 2691 |
| 733 | Pancake Sorting | 2691 |
| 734 | Given a binary tree, how do you remove all the half nodes? | 2689 |
| 735 | An Interesting Method to generate Binary Numbers from 1 to n | 2686 |
| 736 | Longest Common Prefix Using Binary Search II | 2685 |
| 737 | Longest Increasing Subsequence | 2682 |
| 738 | Construct Binary Tree from given Parent Array representation | 2677 |
| 739 | Count Minimum Steps to Get the given Array | 2677 |
| 740 | Container with Most Water | 2676 |
| 741 | Find the first repeating element in an array of integers | 2672 |
| 742 | Deletion in a Binary Tree | 2670 |
| 743 | Construct Binary Tree from Preorder and Postorder Traversal LeetCode Solution | 2665 |
| 744 | Parallel Courses II LeetCode Solution | 2661 |
| 745 | MiniMax Algorithm | 2660 |
| 746 | Union and Intersection of two Linked Lists | 2658 |
| 747 | Delete Nth node from the end of the given linked list | 2646 |
| 748 | Minimum Cost to Move Chips to The Same Position LeetCode Solution | 2644 |
| 749 | Delete Nodes and Return Forest Leetcode Solution | 2643 |
| 750 | Sum Root to Leaf Numbers LeetCode Solution | 2642 |
| 751 | Check if all levels of two Binary Tree are anagrams or not | 2642 |
| 752 | Find K Closest Elements LeetCode Solution | 2635 |
| 753 | Substring With Concatenation Of All Words | 2634 |
| 754 | Level order traversal using two Queues | 2630 |
| 755 | Boundary Traversal of binary tree | 2626 |
| 756 | BFS vs DFS for Binary Tree | 2624 |
| 757 | Kill Process LeetCode Solution | 2623 |
| 758 | Count pairs from two linked lists whose sum is equal to a given value | 2621 |
| 759 | Level of Each node in a Tree from source node | 2617 |
| 760 | Rearrange an Array Such that arr[i] is equal to i | 2614 |
| 761 | Sort Array by Increasing Frequency Leetcode Solution | 2612 |
| 762 | Non-overlapping sum of two sets | 2608 |
| 763 | Iterative Depth First Traversal of Graph | 2608 |
| 764 | Linked List Cycle | 2607 |
| 765 | Minimum Size Subarray Sum | 2606 |
| 766 | Iterative Preorder Traversal | 2605 |
| 767 | Minimum Remove to Make Valid Parentheses LeetCode Solution | 2604 |
| 768 | Nested List Weight Sum II LeetCode Solution | 2604 |
| 769 | Find Maximum of Minimum for Every Window Size in a Given Array | 2602 |
| 770 | Valid Anagrams | 2598 |
| 771 | New 21 Game | 2598 |
| 772 | Merge K Sorted Linked Lists | 2592 |
| 773 | Find the Difference Leetcode Solution | 2586 |
| 774 | Longest Common Prefix Word by Word Matching | 2582 |
| 775 | Remove Duplicates from Sorted List II | 2577 |
| 776 | Matrix Chain Multiplication | 2574 |
| 777 | Super Ugly Number | 2574 |
| 778 | Merging Intervals | 2571 |
| 779 | K maximum sums of overlapping contiguous sub-arrays | 2569 |
| 780 | Maximum size subarray sum equals k | 2569 |
| 781 | Reservoir Sampling | 2568 |
| 782 | Range LCM Queries | 2567 |
| 783 | Palindrome Partitioning | 2555 |
| 784 | Maximum Product Subarray | 2549 |
| 785 | Reorder Array Using Given Indexes | 2544 |
| 786 | Verify Preorder Serialization of a Binary Tree | 2541 |
| 787 | Print a Binary Tree in Vertical Order | 2539 |
| 788 | Check if any two intervals overlap among a given set of intervals | 2537 |
| 789 | Sum of f(a[i], a[j]) over all pairs in an array of n integers | 2536 |
| 790 | Balanced Binary Tree | 2536 |
| 791 | Friends Of Appropriate Ages LeetCode Solution | 2533 |
| 792 | Check if a queue can be sorted into another queue using a stack | 2527 |
| 793 | The Painter’s Partition Problem | 2525 |
| 794 | Create Maximum Number | 2525 |
| 795 | Missing Number | 2524 |
| 796 | Flatten Binary Tree to Linked List LeetCode Solution | 2523 |
| 797 | Smallest Range II Leetcode Solution | 2521 |
| 798 | Sorting a K Sorted Array | 2514 |
| 799 | Find Maximum Sum Possible Equal Sum of Three Stacks | 2513 |
| 800 | Defanging an IP Address LeetCode Solution | 2510 |
| 801 | Check if Two Expressions With Brackets are Same | 2509 |
| 802 | Tree Traversal (Preorder, Inorder & Postorder) | 2508 |
| 803 | Peak Index in a Mountain Array LeetCode Solution | 2498 |
| 804 | Valid Triangle Number LeetCode Solution | 2496 |
| 805 | Maximum difference between two elements such as larger element comes after smaller | 2496 |
| 806 | Vertical sum in a given binary tree | 2492 |
| 807 | Unique Binary Search Trees LeetCode Solution | 2486 |
| 808 | Find Three Element From Different Three Arrays Such That a + b + c = sum | 2485 |
| 809 | Lowest Common Ancestor | 2483 |
| 810 | Hamming Distance | 2480 |
| 811 | Check if a given array can represent Preorder Traversal of Binary Search Tree | 2477 |
| 812 | Minimum insertions to form a palindrome with permutations allowed | 2476 |
| 813 | Valid Triangle Number LeetCode Solution | 2475 |
| 814 | Count number of triplets with product equal to given number | 2471 |
| 815 | Largest Submatrix With Rearrangements LeetCode Solution | 2469 |
| 816 | Minimum Distance Between BST Nodes Leetcode Solution | 2466 |
| 817 | Find subarray with given sum (Handles Negative Numbers) | 2464 |
| 818 | Find K Length Subarray of Maximum Average | 2461 |
| 819 | Number Of Longest Increasing Subsequence | 2460 |
| 820 | Check if two nodes are on the same path in a Tree | 2449 |
| 821 | Iterative Postorder Traversal Using Two Stacks | 2447 |
| 822 | Sort Elements by Frequency II | 2446 |
| 823 | First Bad Version | 2445 |
| 824 | Find Element Using Binary Search in Sorted Array | 2444 |
| 825 | Flatten 2D Vector LeetCode Solution | 2440 |
| 826 | Find Common Characters Leetcode Solution | 2440 |
| 827 | Find distance between two nodes of a Binary Tree | 2436 |
| 828 | Merging Two Sorted Arrays | 2436 |
| 829 | Third Maximum Number Leetcode Solution | 2435 |
| 830 | Check Completeness of a Binary Tree LeetCode Solution | 2434 |
| 831 | Find Sum of all unique sub-array sum for a given array | 2433 |
| 832 | Closest Leaf in a Binary Tree LeetCode Solution | 2431 |
| 833 | Print All Distinct Elements of a Given Integer Array | 2431 |
| 834 | Employee Importance LeetCode Solution | 2426 |
| 835 | Array Nesting Leetcode Solution | 2425 |
| 836 | Maximum difference between frequency of two elements such that element having greater frequency is also greater | 2424 |
| 837 | Products of ranges in an array | 2424 |
| 838 | Maximum number of segments of lengths a, b and c | 2423 |
| 839 | Find Peak Element | 2423 |
| 840 | Find Smallest Range Containing Elements from k Lists | 2419 |
| 841 | Kth Smallest Element in a Sorted Matrix LeetCode Solution | 2417 |
| 842 | Maximum subsequence sum such that no three are consecutive | 2414 |
| 843 | Print all triplets in sorted array that form AP | 2413 |
| 844 | Newman-Conway Sequence | 2412 |
| 845 | Diagonal Traversal of Binary Tree | 2409 |
| 846 | Longest Bitonic Subsequence | 2408 |
| 847 | Valid Parenthesis String | 2407 |
| 848 | Arrange given numbers to form the biggest number | 2399 |
| 849 | Largest BST Subtree LeetCode Solution | 2396 |
| 850 | Range Sum Query using Sparse Table | 2391 |
| 851 | Largest subarray with equal number of 0s and 1s | 2389 |
| 852 | Longest Palindromic Subsequence | 2389 |
| 853 | Lower Case To Upper Case | 2389 |
| 854 | Stone Game IV LeetCode Solution | 2386 |
| 855 | Print Right View of a Binary Tree | 2384 |
| 856 | Segment Tree | 2383 |
| 857 | Distinct Subsequences | 2383 |
| 858 | Bottom View of a Binary Tree | 2382 |
| 859 | Trapping Rain Water II LeetCode Solution | 2378 |
| 860 | Find Nth Node | 2377 |
| 861 | Path Sum | 2369 |
| 862 | Median of Two Sorted Arrays | 2366 |
| 863 | Contiguous Array | 2362 |
| 864 | Four Elements that Sum to Given | 2361 |
| 865 | Largest divisible pairs subset | 2360 |
| 866 | Number of siblings of a given Node in n-ary Tree | 2360 |
| 867 | Shuffle an Array | 2358 |
| 868 | Compare Strings by Frequency of the Smallest Character Leetcode Solution | 2354 |
| 869 | Stone Game IV LeetCode Solution | 2348 |
| 870 | Find the largest multiple of 3 | 2345 |
| 871 | Subset Sum Problem in O(sum) space | 2344 |
| 872 | Merge Two Sorted Arrays | 2337 |
| 873 | Binary array after M range toggle operations | 2333 |
| 874 | Isomorphic Strings | 2332 |
| 875 | Count and Say | 2330 |
| 876 | Unique Binary Search Trees | 2330 |
| 877 | Maximum Population Year LeetCode Solution | 2323 |
| 878 | Red-Black Tree Introduction | 2323 |
| 879 | Minimum Swaps To Make Sequences Increasing LeetCode Solution | 2321 |
| 880 | Permutations of a Given String Using STL | 2321 |
| 881 | Next Greater Element in an Array | 2311 |
| 882 | Infix to Postfix | 2308 |
| 883 | Find Largest d in Array such that a + b + c = d | 2305 |
| 884 | Valid Number | 2303 |
| 885 | Friends Pairing Problem | 2301 |
| 886 | Write a function to get the intersection point of two Linked Lists | 2295 |
| 887 | Maximum Product Subarray | 2292 |
| 888 | Height of a generic tree from parent array | 2286 |
| 889 | Encoded String With Shortest Length LeetCode Solution | 2284 |
| 890 | Maximum Sum of 3 Non-Overlapping Subarrays | 2283 |
| 891 | Rearrange an array such that ‘arr[j]’ becomes ‘i’ if ‘arr[i]’ is ‘j’ | 2282 |
| 892 | Insert Delete GetRandom | 2280 |
| 893 | Closest Binary Search Tree Value Leetcode Solution | 2276 |
| 894 | Transform a BST to Greater sum Tree | 2276 |
| 895 | Averages of Levels in Binary Tree | 2275 |
| 896 | Find unique character in a string | 2274 |
| 897 | Valid Perfect Square LeetCode Solution | 2272 |
| 898 | Count Primes in Ranges | 2270 |
| 899 | The Number of Weak Characters in the Game LeetCode Solution | 2269 |
| 900 | Sentence Screen Fitting LeetCode Solution | 2256 |
| 901 | Range Minimum Query (Square Root Decomposition and Sparse Table) | 2255 |
| 902 | Binary Search Tree Delete Operation | 2254 |
| 903 | Shuffle a given Array | 2253 |
| 904 | Orderly Queue LeetCode Solution | 2251 |
| 905 | Maximum Side Length of a Square with Sum Less than or Equal to Threshold LeetCode Solution | 2249 |
| 906 | Edit Distance | 2235 |
| 907 | Binary Tree Longest Consecutive Sequence LeetCode Solution | 2229 |
| 908 | Minimum sum of squares of character counts in a given string after removing k characters | 2221 |
| 909 | Reorganize String | 2220 |
| 910 | Convert BST into a Min-Heap without using array | 2219 |
| 911 | Bold Words in String LeetCode Solution | 2216 |
| 912 | Serialize and Deserialize Binary Tree | 2216 |
| 913 | Step-By-Step Directions From a Binary Tree Node to Another LeetCode Solution | 2213 |
| 914 | Find Minimum In Rotated Sorted Array | 2208 |
| 915 | Integer to Roman | 2207 |
| 916 | Lowest Common Ancestor in Binary Search Tree | 2199 |
| 917 | Kth Smallest Number in Multiplication Table Leetcode Solution | 2198 |
| 918 | Swap Nodes In Pairs | 2195 |
| 919 | Diameter of N-Ary Tree LeetCode Solution | 2193 |
| 920 | Next greater element | 2192 |
| 921 | Maximum Product Subarray | 2189 |
| 922 | Koko Eating Bananas LeetCode Solution | 2182 |
| 923 | Print n terms of Newman-Conway Sequence | 2176 |
| 924 | Advantages of BST over Hash Table | 2172 |
| 925 | Array Queries for multiply replacements and product | 2170 |
| 926 | Find the smallest binary digit multiple of given number | 2165 |
| 927 | K’th Largest element in BST using constant extra space | 2163 |
| 928 | Next Greater Element II LeetCode Solution | 2162 |
| 929 | K’th Largest Element in BST when modification to BST is not allowed | 2162 |
| 930 | Constant time range add operation on an array | 2161 |
| 931 | Range Queries for Longest Correct Bracket Subsequence | 2156 |
| 932 | Write Code to Determine if Two Trees are Identical | 2140 |
| 933 | Total Hamming Distance LeetCode Solution | 2139 |
| 934 | Best Meeting Point LeetCode Solution | 2139 |
| 935 | Check if an Array is Stack Sortable | 2136 |
| 936 | Maximum Sum Increasing Subsequence | 2134 |
| 937 | Serialize and Deserialize Binary Tree LeetCode Solution | 2133 |
| 938 | Longest Increasing Consecutive Subsequence | 2132 |
| 939 | Queries on XOR of greatest odd divisor of the range | 2130 |
| 940 | Level Order Traversal of Binary Tree | 2128 |
| 941 | Moving Stones Until Consecutive Leetcode Solution | 2120 |
| 942 | Power of Two | 2116 |
| 943 | Image Overlap LeetCode Solution | 2110 |
| 944 | Clone a Binary Tree with Random Pointers | 2109 |
| 945 | Valid Tic-Tac-Toe State LeetCode Solution | 2103 |
| 946 | Reverse a Path in BST using Queue | 2100 |
| 947 | Greatest Sum Divisible by Three LeetCode Solution | 2099 |
| 948 | Check if X can give change to every person in the Queue | 2098 |
| 949 | Find minimum number of merge operations to make an array palindrome | 2096 |
| 950 | Number of Orders in the Backlog Leetcode Solution | 2095 |
| 951 | Check if each internal node of a BST has exactly one child | 2095 |
| 952 | Insert into a Sorted Circular Linked List LeetCode Solution | 2093 |
| 953 | Numbers with prime frequencies greater than or equal to k | 2093 |
| 954 | Find the node with minimum value in a Binary Search Tree | 2091 |
| 955 | Design Underground System Leetcode Solution | 2088 |
| 956 | Number of elements less than or equal to a given number in a given subarray | 2087 |
| 957 | A program to check if a binary tree is BST or not | 2084 |
| 958 | Design Add and Search Words Data Structure LeetCode Solution | 2076 |
| 959 | Form minimum number from given sequence | 2074 |
| 960 | Count the Pairs at Same Distance as in English Alphabets | 2067 |
| 961 | Factorial Trailing Zeroes LeetCode Solution | 2065 |
| 962 | Count and Toggle Queries on a Binary Array | 2065 |
| 963 | Maximum Array from Two given Arrays Keeping Order Same | 2063 |
| 964 | Graph Cloning | 2060 |
| 965 | Collect maximum points in a grid using two traversals | 2059 |
| 966 | Print Next Greater Number of Q queries | 2059 |
| 967 | Closest Binary Search Tree Value II LeetCode Solution | 2050 |
| 968 | Maximum difference between first and last indexes of an element in array | 2049 |
| 969 | Merge two BSTs with limited extra space | 2047 |
| 970 | Largest Plus Sign Leetcode Solution | 2045 |
| 971 | Check for Palindrome after every character replacement Query | 2040 |
| 972 | Queries for Decimal Values of Subarrays of a Binary Array | 2038 |
| 973 | Group Shifted Strings Leetcode Solution | 2032 |
| 974 | Merge Sorted Array | 2032 |
| 975 | Merge Sort | 2026 |
| 976 | Dividing Array into Pairs With Sum Divisible by K | 2024 |
| 977 | Priority Queue | 2019 |
| 978 | Longest Substring Without Repeating Characters Leetcode Solution | 1999 |
| 979 | Count even length binary sequences with same sum of first and second half bits | 1995 |
| 980 | Print Ancestors of a Given Binary Tree Node Without Recursion | 1995 |
| 981 | Kth Smallest Element in a BST | 1992 |
| 982 | Print modified array after multiple array range increment operations | 1990 |
| 983 | Excel Sheet Column Number LeetCode Solution | 1983 |
| 984 | Swim in Rising Water LeetCode Solution | 1977 |
| 985 | Cutting a Rod | 1977 |
| 986 | Form Minimum Number From Given Sequence | 1977 |
| 987 | Minimum Moves to Equal Array Elements LeetCode Solution | 1975 |
| 988 | Count Pairs Whose Products Exist in Array | 1963 |
| 989 | Guess The Word | 1959 |
| 990 | Find maximum average subarray of k length | 1954 |
| 991 | Binary Search Tree | 1950 |
| 992 | Insert Delete GetRandom O(1) – Duplicates allowed LeetCode Solution | 1944 |
| 993 | Print all Possible Ways to Break a String in Bracket Form | 1944 |
| 994 | How to print maximum number of A’s using given four keys | 1937 |
| 995 | Excel Sheet Column Title LeetCode Solution | 1935 |
| 996 | Unique Paths II | 1935 |
| 997 | Palindrome Partitioning | 1923 |
| 998 | K Empty Slots | 1917 |
| 999 | Check given array of size n can represent BST of n levels or not | 1913 |
| 1000 | Find postorder traversal of BST from preorder traversal | 1909 |
| 1001 | Binary Search Tree Search and Insertion | 1909 |
| 1002 | Decrease Elements To Make Array Zigzag LeetCode Solution | 1899 |
| 1003 | Sum of Left Leaves LeetCode Solution | 1898 |
| 1004 | Regular Expression Matching | 1892 |
| 1005 | Longest Common Prefix using Character by Character Matching | 1892 |
| 1006 | Minimum Possible Integer After at Most K Adjacent Swaps On Digits LeetCode Solution | 1885 |
| 1007 | Sorted Array to Balanced BST | 1877 |
| 1008 | Construct Complete Binary Tree from its Linked List Representation | 1853 |
| 1009 | Queries for Number of Distinct Elements in a Subarray | 1847 |
| 1010 | Maximum Depth Of Binary Tree | 1843 |
| 1011 | Iterative method to find ancestors of a given binary tree | 1828 |
| 1012 | Maximum weight transformation of a given string | 1828 |
| 1013 | Find the Town Judge LeetCode Solution | 1825 |
| 1014 | Shortest Unsorted Continuous Subarray LeetCode Solution | 1808 |
| 1015 | Binary Tree to Binary Search Tree Conversion using STL set | 1793 |
| 1016 | Find Maximum Depth of Nested Parenthesis in a String | 1791 |
| 1017 | Symmetric Tree LeetCode Solution Leetcode Solution | 1789 |
| 1018 | Search in Sorted Rotated Array | 1784 |
| 1019 | Random Pick Index LeetCode Solution | 1783 |
| 1020 | Data Structure Designing | 1781 |
| 1021 | Search an Element in Sorted Rotated Array | 1743 |
| 1022 | Kth Smallest Product of Two Sorted Arrays LeetCode Solution | 1730 |
| 1023 | Minimum Number of Operations to Move All Balls to Each Box LeetCode Solution | 1718 |
| 1024 | Convert a BST to a Binary Tree such that sum of all greater keys is added to every key | 1713 |
| 1025 | Next Greater Element I Leetcode Solution | 1702 |
| 1026 | Print Maximum Length Chain of Pairs | 1667 |
| 1027 | Flatten Binary Tree to Linked List LeetCode Solution | 1650 |
| 1028 | Maximum Binary Tree | 1644 |
| 1029 | Find k-th smallest element in BST (Order Statistics in BST) | 1637 |
| 1030 | Peeking Iterator LeetCode Solution | 1621 |
| 1031 | Find Two Non-overlapping Sub-arrays Each With Target Sum LeetCode Solution | 1572 |