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 | 43838 |
| 2 | Maximum occurring character in a string | 19904 |
| 3 | Plus One Leetcode Solution | 19615 |
| 4 | Valid Parentheses LeetCode Solution | 19404 |
| 5 | 3Sum Leetcode Solution | 17703 |
| 6 | Merge Sorted Arrays Leetcode Solution | 15543 |
| 7 | First Repeating Element | 15368 |
| 8 | Single Number Leetcode Solution | 15059 |
| 9 | Count Primes Leetcode Solutions | 14853 |
| 10 | Pow(x, n) Leetcode Solution | 14760 |
| 11 | Sqrt(x) Leetcode Solution | 14552 |
| 12 | Meeting Rooms II LeetCode Solution | 13573 |
| 13 | Concatenation of Array LeetCode Solution | 13037 |
| 14 | Roman to Integer Leetcode Solution | 12167 |
| 15 | Valid Palindrome Leetcode Solution | 12002 |
| 16 | Search Insert Position Leetcode Solution | 11918 |
| 17 | Contains Duplicate II Leetcode Solution | 11904 |
| 18 | Palindrome Number LeetCode Solution | 11750 |
| 19 | Remove Duplicates from Sorted Array Leetcode Solution | 11599 |
| 20 | Jump Game Leetcode Solution | 11333 |
| 21 | Reverse Vowels of a String Leetcode Solution | 11290 |
| 22 | Longest Substring Without Repeating Characters LeetCode Solution | 11270 |
| 23 | Number of Good Pairs Leetcode Solution | 11268 |
| 24 | Intersection of Two Arrays II Leetcode Solution | 11228 |
| 25 | Spiral Matrix LeetCode Solution | 10995 |
| 26 | House Robber Leetcode Solution | 10933 |
| 27 | Kids With the Greatest Number of Candies Leetcode Solution | 10909 |
| 28 | Add Binary Leetcode Solution | 10790 |
| 29 | Maximum Subarray Leetcode Solution | 10456 |
| 30 | Number Of 1 bits | 10381 |
| 31 | Find the Maximum Repeating Number in Array | 10174 |
| 32 | Text Justification LeetCode Solution | 10089 |
| 33 | Move Zeroes LeetCode Solution | 9969 |
| 34 | Jewels and Stones Leetcode Solution | 9941 |
| 35 | Min Stack Leetcode Solution | 9927 |
| 36 | Power of Two Leetcode Solution | 9690 |
| 37 | Longest Palindromic Substring LeetCode Solution | 9678 |
| 38 | Permutations Leetcode Solution | 9647 |
| 39 | Shuffle String Leetcode Solution | 9639 |
| 40 | Word Search Leetcode Solution | 9549 |
| 41 | Third Maximum Number Leetcode Solution | 9484 |
| 42 | Daily Temperatures Leetcode Solution | 9475 |
| 43 | Evaluation of Postfix Expression | 9452 |
| 44 | Find All Numbers Disappeared in an Array Leetcode Solution | 9435 |
| 45 | Median of Two Sorted Arrays LeetCode Solution | 9408 |
| 46 | Next Permutation Leetcode Solution | 9337 |
| 47 | Search in Rotated Sorted Array Leetcode Solution | 9325 |
| 48 | Number of Islands LeetCode Solution | 9213 |
| 49 | Kth Missing Positive Number Leetcode Solution | 9199 |
| 50 | Maximum Profit in Job Scheduling Leetcode Solution | 9192 |
| 51 | Next Greater Element I Leetcode Solution | 9118 |
| 52 | Longest Common Prefix Leetcode Solution | 9069 |
| 53 | Frog Jump Leetcode Solution | 8919 |
| 54 | Valid Anagram Leetcode Solution | 8867 |
| 55 | Running Sum of 1d Array Leetcode Solution | 8784 |
| 56 | Find Minimum Distance Between Two Numbers in an Array | 8770 |
| 57 | Shuffle the Array Leetcode Solution | 8753 |
| 58 | Rotate Image LeetCode Solution | 8695 |
| 59 | Combination Sum Leetcode Solution | 8655 |
| 60 | Multiply Strings Leetcode Solution | 8652 |
| 61 | Can Place Flowers LeetCode Solution | 8645 |
| 62 | House Robber II Leetcode Solution | 8582 |
| 63 | Count and Say Leetcode Solution | 8565 |
| 64 | 3Sum Closest LeetCode Solution | 8496 |
| 65 | Bulb Switcher LeetCode Solution | 8448 |
| 66 | Boolean Parenthesization Problem | 8427 |
| 67 | Koko Eating Bananas Leetcode Solution | 8360 |
| 68 | Best Time to Buy and Sell Stock LeetCode Solution | 8335 |
| 69 | Subarray and Subsequence | 8269 |
| 70 | Excel Sheet Column Title Leetcode Solution | 8259 |
| 71 | Happy Number Leetcode Solution | 8248 |
| 72 | Isomorphic Strings Leetcode Solution | 8203 |
| 73 | Majority Element Leetcode Solution | 8181 |
| 74 | Candy LeetCode Solution | 8168 |
| 75 | Missing Number Leetcode Solution | 8141 |
| 76 | Count Pairs With Given Sum | 8115 |
| 77 | Integer to Roman Leetcode Solution | 8112 |
| 78 | Product of array except self | 8018 |
| 79 | A Product Array Puzzle | 8012 |
| 80 | Rotate String LeetCode Solution | 7986 |
| 81 | Strobogrammatic Number LeetCode Solution | 7955 |
| 82 | Binary Search LeetCode Solution | 7894 |
| 83 | Reverse String Without Temporary Variable | 7857 |
| 84 | Is Subsequence Leetcode Solution | 7844 |
| 85 | Find the Difference Leetcode Solution | 7818 |
| 86 | Find the Duplicate Number LeetCode Solution | 7806 |
| 87 | Expression Evaluation | 7795 |
| 88 | Largest Number Leetcode Solution | 7786 |
| 89 | Find Common Characters Leetcode Solution | 7767 |
| 90 | Subtract the Product and Sum of Digits of an Integer Leetcode Solution | 7643 |
| 91 | String to Integer (atoi) LeetCode Solution | 7616 |
| 92 | Subset Leetcode | 7607 |
| 93 | Rabin Karp Algorithm | 7573 |
| 94 | How Many Numbers Are Smaller Than the Current Number Leetcode Solution | 7566 |
| 95 | Summary Ranges Leetcode Solution | 7502 |
| 96 | Set Matrix Zeroes | 7482 |
| 97 | Balanced Binary Tree Leetcode Solution | 7439 |
| 98 | Word Pattern LeetCode Solution | 7405 |
| 99 | Sort Characters By Frequency LeetCode Solution | 7387 |
| 100 | Find the Town Judge Leetcode Solution | 7383 |
| 101 | Find the Winner of the Circular Game LeetCode Solution | 7346 |
| 102 | Unique Paths Leetcode Solution | 7329 |
| 103 | Arranging Coins Leetcode Solution | 7322 |
| 104 | Rearrange Positive and Negative Numbers Alternatively in Array | 7281 |
| 105 | Group Anagrams LeetCode Solution | 7246 |
| 106 | Postfix to Infix Conversion | 7243 |
| 107 | String Compression LeetCode Solution | 7173 |
| 108 | Asteroid Collision LeetCode Solution | 7141 |
| 109 | Page Replacement Algorithms in Operating Systems | 7101 |
| 110 | Repeated Substring Pattern LeetCode Solution | 7063 |
| 111 | Smallest window in a string containing all characters of another string | 7038 |
| 112 | Best Time to Buy and Sell Stock II Leetcode Solution | 6986 |
| 113 | Matrix Chain Multiplication using Dynamic Programming | 6985 |
| 114 | Sort Colors LeetCode Solution | 6984 |
| 115 | Sum of minimum and maximum elements of all subarrays of size k | 6849 |
| 116 | Sort Array By Parity LeetCode Solution | 6846 |
| 117 | Zigzag Conversion LeetCode Solution | 6827 |
| 118 | Kth largest element in an Array Leetcode Solutions | 6812 |
| 119 | Valid Palindrome II Leetcode Solution | 6803 |
| 120 | Generate Parentheses Leetcode Solution | 6765 |
| 121 | Divide Two Integers Leetcode Solution | 6764 |
| 122 | Find the Row with Maximum Number of 1’s | 6727 |
| 123 | Assign Cookies Leetcode Solution | 6725 |
| 124 | Decode String Leetcode Solution | 6711 |
| 125 | Pascal Triangle Leetcode | 6710 |
| 126 | Product of Array Except Self LeetCode Solution | 6647 |
| 127 | Reverse Integer Leetcode Solution | 6635 |
| 128 | Remove Duplicates from Sorted Array II Leetcode Solution | 6630 |
| 129 | H-Index Leetcode Solution | 6621 |
| 130 | Length of Last Word Leetcode Solution | 6613 |
| 131 | Bus Routes Leetcode Solution | 6563 |
| 132 | Number of Provinces Leetcode Solution | 6535 |
| 133 | Merge Two Sorted Lists Leetcode Solutions | 6518 |
| 134 | Prefix to Infix Conversion | 6515 |
| 135 | Linked List Cycle II LeetCode Solution | 6471 |
| 136 | Convert array into Zig-Zag fashion | 6445 |
| 137 | Minimum Steps to reach target by a Knight | 6445 |
| 138 | Minimum Cost For Tickets Leetcode Solution | 6426 |
| 139 | Employee Free Time LeetCode Solution | 6418 |
| 140 | Optimal Account Balancing LeetCode Solution | 6415 |
| 141 | Defanging an IP Address Leetcode Solution | 6404 |
| 142 | Pascal’s Triangle II Leetcode Solution | 6358 |
| 143 | Find First and Last Position of Element in Sorted Array Leetcode Solution | 6329 |
| 144 | Island Perimeter Leetcode Solution | 6284 |
| 145 | Bellman Ford Algorithm | 6279 |
| 146 | Implementation of Deque using Doubly Linked List | 6273 |
| 147 | OSI Model | 6238 |
| 148 | First element occurring k times in an array | 6237 |
| 149 | Increasing Triplet Subsequence LeetCode Solution | 6228 |
| 150 | Merge Sorted Array LeetCode Solution | 6227 |
| 151 | Majority Element II Leetcode Solution | 6203 |
| 152 | Build Array From Permutation Leetcode Solution | 6197 |
| 153 | KMP Algorithm | 6183 |
| 154 | Robot Room Cleaner Leetcode Solution | 6175 |
| 155 | Max Consecutive Ones Leetcode Solution | 6140 |
| 156 | Guess Number Higher or Lower LeetCode Solution | 6134 |
| 157 | Find Pair with Given Difference | 6108 |
| 158 | Check if the Elements of an Array are Consecutive | 6106 |
| 159 | K-th Smallest Element in a Sorted Matrix | 6085 |
| 160 | Swap Nodes in Pairs Leetcode Solutions | 6076 |
| 161 | Add Two Numbers II Leetcode Solution | 6054 |
| 162 | Set Matrix Zeroes Leetcode Solution | 6051 |
| 163 | Find the Missing Number | 6047 |
| 164 | Lemonade Change Leetcode Solution | 6029 |
| 165 | First negative integer in every window of size k | 5982 |
| 166 | Trapping Rain Water Leetcode Solution | 5979 |
| 167 | Design Parking System Leetcode Solution | 5974 |
| 168 | Fibonacci Number LeetCode Solution | 5966 |
| 169 | Subarray Sum Equals K LeetCode Solution | 5945 |
| 170 | Delete middle element of a stack | 5930 |
| 171 | First Unique Character in a String LeetCode Solution | 5897 |
| 172 | Word Ladder LeetCode Solution | 5893 |
| 173 | Last Stone Weight | 5889 |
| 174 | Coin Change 2 Leetcode Solution | 5880 |
| 175 | Subarray with Given Sum | 5869 |
| 176 | Length of the largest subarray with contiguous elements | 5862 |
| 177 | Monotonic Array LeetCode Solution | 5860 |
| 178 | Capacity To Ship Packages Within D Days Leetcode Solution | 5851 |
| 179 | String Compression | 5850 |
| 180 | Find All Duplicates in an Array LeetCode Solution | 5847 |
| 181 | Subarray Product Less Than K LeetCode Solution | 5832 |
| 182 | Form Minimum Number from Given Sequence of D’s and I’s | 5823 |
| 183 | Repeated Substring Pattern | 5816 |
| 184 | Palindrome Linked List Leetcode Solution | 5801 |
| 185 | Single Element in a Sorted Array LeetCode Solution | 5794 |
| 186 | Find Smallest Missing Number in a Sorted Array | 5761 |
| 187 | Leetcode Permutations | 5710 |
| 188 | Continuous Subarray Sum LeetCode Solution | 5695 |
| 189 | Remove Duplicates from Sorted List II LeetCode Solution | 5677 |
| 190 | 01 Matrix LeetCode Solution | 5677 |
| 191 | Prefix to Postfix Conversion | 5664 |
| 192 | Combinations Leetcode Solution | 5663 |
| 193 | Combination Sum | 5623 |
| 194 | Reverse Words in a String III LeetCode Solution | 5601 |
| 195 | Break a Palindrome LeetCode Solution | 5598 |
| 196 | Iterative Implementation of Quick Sort | 5589 |
| 197 | Valid Perfect Square Leetcode Solution | 5587 |
| 198 | Remove Linked List Elements Leetcode Solution | 5582 |
| 199 | Same Tree LeetCode Solution | 5577 |
| 200 | Insert Delete GetRandom O(1) Leetcode Solution | 5541 |
| 201 | Merge k Sorted Lists Leetcode Solution | 5526 |
| 202 | Rotate List Leetcode Solution | 5520 |
| 203 | Contains Duplicate LeetCode Solution | 5514 |
| 204 | Container With Most Water LeetCode Solution | 5511 |
| 205 | Relative Ranks Leetcode Solution | 5509 |
| 206 | Top K Frequent Elements LeetCode Solution | 5504 |
| 207 | Slowest Key Leetcode Solution | 5498 |
| 208 | Backspace String Compare | 5472 |
| 209 | Find Peak Element LeetCode Solution | 5454 |
| 210 | Cuckoo sequence program | 5449 |
| 211 | Maximum Product of Three Numbers LeetCode Solution | 5434 |
| 212 | Palindrome Number | 5380 |
| 213 | Subarray Sum Equals k | 5379 |
| 214 | Find the Duplicate Element | 5369 |
| 215 | Printing brackets in Matrix Chain Multiplication Problem | 5359 |
| 216 | Kth Largest Element in a Stream Leetcode Solution | 5346 |
| 217 | The K Weakest Rows in a Matrix Leetcode Solution | 5346 |
| 218 | Longest Common Subsequence LeetCode Solution | 5327 |
| 219 | Max Area of Island | 5293 |
| 220 | Second Most Repeated Word in a Sequence | 5283 |
| 221 | Find Leaders in an Array | 5279 |
| 222 | Remove All Occurrences of a Substring LeetCode Solution | 5269 |
| 223 | Rearrange given Array in Maximum Minimum Form | 5255 |
| 224 | Generate all Binary Strings Without Consecutive 1’s | 5252 |
| 225 | Relative Sort Array Leetcode Solution | 5249 |
| 226 | Scramble String | 5245 |
| 227 | Unique Paths II Leetcode Solution | 5238 |
| 228 | Check If Two String Arrays are Equivalent Leetcode Solution | 5237 |
| 229 | Permutation in String Leetcode Solution | 5225 |
| 230 | Convert a Number to Hexadecimal Leetcode Solution | 5221 |
| 231 | Arithmetic Expression Evaluation | 5217 |
| 232 | Target Sum | 5215 |
| 233 | Make The String Great Leetcode Solution | 5211 |
| 234 | Find Triplet in Array With a Given Sum | 5193 |
| 235 | Delete Node in a Linked List Leetcode Solution | 5188 |
| 236 | Letter Combinations of a Phone Number | 5174 |
| 237 | Count Good Nodes in Binary Tree Leetcode Solution | 5160 |
| 238 | N-Queens LeetCode Solution | 5156 |
| 239 | Time Based Key-Value Store LeetCode Solution | 5151 |
| 240 | Moving Average from Data Stream Leetcode Solution | 5143 |
| 241 | Construct Binary Tree from Given Inorder and Preorder Traversals | 5138 |
| 242 | Stone Game LeetCode | 5132 |
| 243 | Next Permutation | 5105 |
| 244 | LRU Cache LeetCode Solution | 5093 |
| 245 | Prim’s Algorithm | 5090 |
| 246 | Minimum Operations to convert X to Y | 5080 |
| 247 | Number of Dice Rolls With Target Sum LeetCode Solution | 5077 |
| 248 | Find N Unique Integers Sum up to Zero Leetcode Solution | 5075 |
| 249 | Check If N and Its Double Exist Leetcode Solution | 5053 |
| 250 | Remove Minimum Characters so that Two Strings Become Anagrams | 5024 |
| 251 | Min Stack | 5022 |
| 252 | Number of Steps to Reduce a Number to Zero Leetcode Solution | 5016 |
| 253 | Given two unsorted arrays find all pairs whose sum is x | 5016 |
| 254 | Flipping an Image LeetCode Solution | 4976 |
| 255 | Find The Duplicate Number | 4961 |
| 256 | Top K Frequent Elements | 4948 |
| 257 | Minimum Knight Moves LeetCode Solution | 4947 |
| 258 | Minimum swaps required to bring all elements less than or equal to k together | 4946 |
| 259 | Stock Buy Sell to Maximize Profit | 4938 |
| 260 | Min Cost Climbing Stairs LeetCode Solution | 4927 |
| 261 | Reverse Only Letters LeetCode Solution | 4914 |
| 262 | Student Attendance Record I Leetcode Solution | 4910 |
| 263 | Smallest Positive Number Missing in an Unsorted Array | 4900 |
| 264 | To Lower Case Leetcode Solution | 4875 |
| 265 | Maximum Sum Increasing Subsequence | 4870 |
| 266 | Single Number | 4860 |
| 267 | License Key Formatting Leetcode Solution | 4859 |
| 268 | The kth Factor of n Leetcode Solution | 4838 |
| 269 | Reverse words in a string | 4834 |
| 270 | Maximum Subarray Sum using Divide and Conquer | 4829 |
| 271 | Maximum Population Year LeetCode Solution | 4776 |
| 272 | Top K Frequent Words LeetCode Solution | 4742 |
| 273 | Longest Common Subsequence | 4737 |
| 274 | Sudoku Solver | 4733 |
| 275 | Find the Number Occurring Odd Number of Times in an Array | 4719 |
| 276 | BFS for Disconnected Graph | 4708 |
| 277 | Remove Nth Node From End of List Leetcode Solution | 4698 |
| 278 | Find Words That Can Be Formed by Characters Leetcode Solution | 4693 |
| 279 | Search Suggestions System LeetCode Solution | 4691 |
| 280 | Minimum Path Sum Leetcode Solution | 4688 |
| 281 | Reformat Date LeetCode Solution | 4685 |
| 282 | Special Array With X Elements Greater Than or Equal X Leetcode Solution | 4683 |
| 283 | Pairs of Songs With Total Durations Divisible by 60 LeetCode Solution | 4657 |
| 284 | Reveal Cards In Increasing Order Leetcode Solution | 4643 |
| 285 | Maximum Depth of Binary Tree Leetcode Solution | 4635 |
| 286 | Sum of Subarray Ranges Leetcode Solution | 4629 |
| 287 | Intersection of Two Arrays | 4624 |
| 288 | Maximum Size Subarray Sum Equals k Leetcode Solution | 4617 |
| 289 | Sort Elements by Frequency of Occurrences | 4614 |
| 290 | Best Time to Buy and Sell Stock III Leetcode Solution | 4603 |
| 291 | Reverse Nodes in k-Group LeetCode Solution | 4601 |
| 292 | N-th Tribonacci Number Leetcode Solution | 4598 |
| 293 | House Robber | 4592 |
| 294 | Find any one of the multiple repeating elements in read only array | 4580 |
| 295 | Remove All Ones With Row and Column Flips Leetcode Solution | 4571 |
| 296 | Diagonal Traverse LeetCode Solution | 4569 |
| 297 | Evaluate Division | 4564 |
| 298 | Maximize Distance to Closest Person LeetCode Solution | 4561 |
| 299 | Most Frequent Element in an Array | 4554 |
| 300 | Range Sum Query 2D – Immutable Leetcode Solution | 4539 |
| 301 | Binary Tree Inorder Traversal LeetCode Solution | 4535 |
| 302 | Design A Leaderboard Leetcode Solution | 4535 |
| 303 | Find Index of Closing Bracket for a Given Opening Bracket in an Expression | 4535 |
| 304 | Reverse individual words | 4535 |
| 305 | Minimum Characters to be Added at Front to Make String Palindrome | 4529 |
| 306 | Length of Longest valid Substring | 4529 |
| 307 | Count of index pairs with equal elements in an array | 4523 |
| 308 | Find if Path Exists in Graph Leetcode Solution | 4516 |
| 309 | Last Stone Weight II LeetCode Solution | 4502 |
| 310 | Count Number of Occurrences in a Sorted Array | 4497 |
| 311 | Minimum number of Merge Operations to make an Array Palindrome | 4480 |
| 312 | Remove Duplicates from Sorted List LeetCode Solution | 4479 |
| 313 | Split Linked List in Parts Leetcode Solution | 4469 |
| 314 | Partition Array Into Three Parts With Equal Sum Leetcode Solution | 4464 |
| 315 | Implement a stack using single queue | 4463 |
| 316 | Dijkstra Algorithm | 4446 |
| 317 | Find the Closest Palindrome number | 4435 |
| 318 | Brightest Position on Street LeetCode Solution | 4432 |
| 319 | Mobile Numeric Keypad Problem | 4395 |
| 320 | Find Leaves of Binary Tree LeetCode Solution | 4391 |
| 321 | Arrange given Numbers to Form the Biggest Number II | 4390 |
| 322 | Reverse Bits | 4384 |
| 323 | Special Positions in a Binary Matrix Leetcode Solution | 4369 |
| 324 | Round Robin Scheduling | 4365 |
| 325 | Spiral Matrix II Leetcode Solution | 4363 |
| 326 | Symmetric Tree Leetcode Solution | 4355 |
| 327 | Invalid Transactions LeetCode Solution | 4348 |
| 328 | Shortest Word Distance Leetcode Solution | 4338 |
| 329 | Maximum Subarray | 4333 |
| 330 | Paint House LeetCode Solution | 4328 |
| 331 | Recursion | 4314 |
| 332 | Maximal Square | 4293 |
| 333 | Sort Array By Parity II Leetcode Solution | 4285 |
| 334 | One Edit Distance LeetCode Solution | 4283 |
| 335 | Hamming Distance Leetcode Solution | 4278 |
| 336 | Diagonal Traversal LeetCode Solution | 4276 |
| 337 | Rank Transform of an Array Leetcode Solution | 4273 |
| 338 | Find Duplicates in an Array in Most Efficient Way | 4273 |
| 339 | Partition Labels LeetCode Solution | 4257 |
| 340 | Find Winner on a Tic Tac Toe Game Leetcode Solution | 4250 |
| 341 | Remove Invalid Parentheses Leetcode Solution | 4243 |
| 342 | Minimum Moves to Equal Array Elements Leetcode Solution | 4242 |
| 343 | Jump Game | 4239 |
| 344 | Tug of War | 4238 |
| 345 | Largest Rectangle in Histogram LeetCode Solution | 4232 |
| 346 | Alien Dictionary LeetCode Solution | 4232 |
| 347 | Count of Triplets With Sum Less than Given Value | 4231 |
| 348 | String Matching in an Array Leetcode Solution | 4230 |
| 349 | Unique Paths | 4229 |
| 350 | Binary Tree Zigzag Level Order Traversal LeetCode Solution | 4222 |
| 351 | Minimum Time to Collect All Apples in a Tree LeetCode Solution | 4200 |
| 352 | Postfix to Prefix Conversion | 4199 |
| 353 | The Celebrity Problem | 4182 |
| 354 | Unique Paths III LeetCode Solution | 4181 |
| 355 | Next Permutation LeetCode Solution | 4178 |
| 356 | Validate Stack Sequences LeetCode Solution | 4172 |
| 357 | Given an Array of Pairs Find all Symmetric Pairs in it | 4171 |
| 358 | Merge Two Sorted Linked Lists | 4166 |
| 359 | Bitwise AND of Numbers Range LeetCode Solution | 4164 |
| 360 | Lowest Common Ancestor of a Binary Tree Leetcode Solution | 4157 |
| 361 | Construct BST from its given Level Order Traversal | 4152 |
| 362 | Minimum Depth of Binary Tree Leetcode Solution | 4151 |
| 363 | Transpose Graph | 4147 |
| 364 | Range Sum of BST LeetCode Solution | 4143 |
| 365 | Least Number of Unique Integers after K Removals Leetcode Solution | 4143 |
| 366 | Minimum operation to make all elements equal in array | 4138 |
| 367 | Smallest Subarray with k Distinct Numbers | 4137 |
| 368 | Invert Binary Tree LeetCode Solution | 4129 |
| 369 | Minimum Time Visiting All Points Leetcode Solution | 4128 |
| 370 | Maximum Circular Subarray Sum | 4126 |
| 371 | Toeplitz Matrix | 4118 |
| 372 | Longest Common Prefix using Trie | 4117 |
| 373 | Clone Graph LeetCode Solution | 4113 |
| 374 | Maximum Length of a Concatenated String with Unique Characters Leetcode Solution | 4112 |
| 375 | Pair of Positive Negative Values in an Array | 4106 |
| 376 | Minimum Number of Steps to Make Two Strings Anagram Leetcode Solutions | 4092 |
| 377 | Find minimum difference between any two elements | 4090 |
| 378 | Next Greater Element III LeetCode Solution | 4080 |
| 379 | Ugly Number II LeetCode Solution | 4079 |
| 380 | Kruskal Algorithm | 4079 |
| 381 | Check whether Strings are K Distance Apart or Not | 4079 |
| 382 | Robot Bounded In Circle LeetCode Solution | 4078 |
| 383 | 4Sum | 4074 |
| 384 | 3 Sum | 4072 |
| 385 | K Empty Slots LeetCode | 4072 |
| 386 | Find the First and Second Smallest Elements | 4062 |
| 387 | Longest Substring with At Most K Distinct Characters LeetCode Solution | 4061 |
| 388 | Check if a given array contains duplicate elements within k distance from each other | 4046 |
| 389 | Minimum Cost to Hire K Workers | 4045 |
| 390 | Substring with Concatenation of All Words Leetcode Solution | 4039 |
| 391 | Max stack | 4036 |
| 392 | LRU Cache Implementation | 4029 |
| 393 | Implementation of Deque using circular array | 4023 |
| 394 | Longest subarray not having more than K distinct elements | 4020 |
| 395 | Graph Valid Tree LeetCode Solution | 4017 |
| 396 | Word Search | 4014 |
| 397 | Sort a stack using a temporary stack | 4004 |
| 398 | Sliding Window Technique | 3996 |
| 399 | Invert Binary Tree LeetCode Solution | 3995 |
| 400 | Regular Expression Matching Regular Expression Matching LeetCode Solution | 3995 |
| 401 | Minimize Maximum Pair Sum in Array LeetCode Solution | 3995 |
| 402 | Stack Permutations (Check if an array is stack permutation of other) | 3983 |
| 403 | Stone Game II Leetcode | 3981 |
| 404 | Find the Smallest Divisor given a Threshold Leetcode Solution | 3977 |
| 405 | Permutation Sequence LeetCode Solution | 3975 |
| 406 | Longest subsequence such that difference between adjacents is one | 3975 |
| 407 | Best Time to Buy and Sell Stock with Cooldown Leetcode Solution | 3971 |
| 408 | Non-decreasing Array LeetCode Solution | 3965 |
| 409 | Convert Sorted Array to Binary Search Tree LeetCode Solutions | 3961 |
| 410 | Number Complement Leetcode Solution | 3960 |
| 411 | Find duplicates in a given array when elements are not limited to a range | 3960 |
| 412 | Find the subarray with least average | 3959 |
| 413 | Design Browser History LeetCode Solution | 3957 |
| 414 | Priority Queue using doubly linked list | 3955 |
| 415 | Top View of Binary Tree | 3954 |
| 416 | Kth Smallest Element in a BST Leetcode Solution | 3952 |
| 417 | Minesweeper LeetCode Solution | 3944 |
| 418 | Missing Element in Sorted Array LeetCode Solution | 3940 |
| 419 | Queries for counts of array elements with values in given range | 3935 |
| 420 | Number of Islands II LeetCode Solution | 3932 |
| 421 | LRU Cache Leetcode Solution | 3928 |
| 422 | Painting Fence Algorithm | 3928 |
| 423 | K Closest Points to Origin Leetcode Solution | 3923 |
| 424 | Maximum Number of Occurrences of a Substring Leetcode Solution | 3922 |
| 425 | Common elements in all rows of a given matrix | 3916 |
| 426 | Nth Catalan Number | 3913 |
| 427 | Partition List Leetcode Solution | 3911 |
| 428 | Find the Peak Element from an Array | 3896 |
| 429 | Path With Maximum Minimum Value LeetCode Solution | 3891 |
| 430 | Fibonacci Number LeetCode Solution | 3890 |
| 431 | First Circular Tour to Visit all the Petrol Bunks | 3888 |
| 432 | Snakes and Ladders LeetCode Solution | 3887 |
| 433 | Maximum Consecutive Numbers Present in an Array | 3878 |
| 434 | Can Make Arithmetic Progression From Sequence Leetcode Solution | 3878 |
| 435 | Find Top K (or Most Frequent) Numbers in a Stream | 3877 |
| 436 | Number of Smaller Elements on Right Side | 3873 |
| 437 | Sequences of given length where every element is more than or equal to twice of previous | 3867 |
| 438 | Sliding Window Maximum LeetCode Solution | 3864 |
| 439 | Sort elements by frequency | 3862 |
| 440 | Combination Sum IV LeetCode Solution | 3859 |
| 441 | Find Maximum Level sum in Binary Tree | 3857 |
| 442 | Integer Break LeetCode Solution | 3847 |
| 443 | Tiling Problem | 3846 |
| 444 | Gold Mine Problem | 3845 |
| 445 | High Five LeetCode Solution | 3842 |
| 446 | Flood Fill LeetCode | 3841 |
| 447 | Insert Interval Leetcode Solution | 3838 |
| 448 | Odd Even Linked List Leetcode Solution | 3835 |
| 449 | Search a 2D Matrix II Leetcode Solution | 3833 |
| 450 | Check if Two given Strings are Isomorphic to each other | 3829 |
| 451 | Count items common to both the lists but with different prices | 3827 |
| 452 | Find Minimum in Rotated Sorted Array II LeetCode Solution | 3824 |
| 453 | Move All the Zeros to the End of the Given Array | 3822 |
| 454 | N queen problem | 3817 |
| 455 | Rearrange array such that even positioned are greater than odd | 3814 |
| 456 | Distance of nearest cell having 1 in a binary matrix | 3812 |
| 457 | Shortest Palindrome | 3806 |
| 458 | Longest Palindrome can be Formed by Removing or Rearranging Characters | 3803 |
| 459 | Interval Tree | 3789 |
| 460 | Insert into a Binary Search Tree Leetcode Solution | 3783 |
| 461 | Consecutive Characters LeetCode Solution | 3781 |
| 462 | Replace Elements with Greatest Element on Right Side Leetcode Solution | 3780 |
| 463 | Search in a Binary Search Tree Leetcode Solution | 3777 |
| 464 | Trapping Rain Water LeetCode Solution | 3765 |
| 465 | Number of Closed Islands Leetcode Solution | 3764 |
| 466 | Sort Colors | 3763 |
| 467 | Kth Non-repeating Character | 3757 |
| 468 | Design a stack that supports getMin() in O(1) time and O(1) extra space | 3756 |
| 469 | Fibonacci numbers | 3751 |
| 470 | Find a Peak Element II LeetCode Solution | 3741 |
| 471 | Integer to English words | 3741 |
| 472 | Longest Common Prefix using Sorting | 3739 |
| 473 | Reverse a linked list | 3738 |
| 474 | Spiral Matrix III LeetCode Solution | 3734 |
| 475 | Find All Possible Recipes from Given Supplies LeetCode Solution | 3733 |
| 476 | Minimum Absolute Difference in BST Leetcode Solution | 3732 |
| 477 | Evaluate Reverse Polish Notation LeetCode Solution | 3725 |
| 478 | Decompress Run-Length Encoded List Leetcode Solution | 3723 |
| 479 | Expression Contains Redundant Bracket or Not | 3723 |
| 480 | Queries for GCD of all numbers of an array except elements in a given range | 3720 |
| 481 | Sliding Window Median Leetcode Solution | 3714 |
| 482 | Check If Array Pairs Are Divisible by k LeetCode Solution | 3713 |
| 483 | Vertical Order Traversal of Binary Tree LeetCode Solution | 3705 |
| 484 | Convert Sorted Array to Binary Search Tree Leetcode Solution | 3700 |
| 485 | Find Pythagorean Triplets from Array | 3699 |
| 486 | Restore IP Addresses Leetcode Solution | 3697 |
| 487 | Coin Change Problem | 3697 |
| 488 | Sorting array using Stacks | 3692 |
| 489 | Binary Tree Maximum Path Sum LeetCode Solution | 3691 |
| 490 | Minimum Path Sum | 3689 |
| 491 | Palindrome Substring Queries | 3683 |
| 492 | Sort an array according to the order defined by another array | 3665 |
| 493 | Balanced Expression with Replacement | 3665 |
| 494 | Morris Traversal | 3662 |
| 495 | Majority Element | 3662 |
| 496 | Multiplication of Two Matrices | 3661 |
| 497 | Rearrange an array in order – smallest, largest, 2nd smallest, 2nd largest | 3648 |
| 498 | Priority Queue in C++ | 3648 |
| 499 | Subset sum problem | 3639 |
| 500 | Camelcase Matching Leetcode Solution | 3636 |
| 501 | Best Time to Buy and Sell Stock | 3635 |
| 502 | Find the first Repeating Number in a Given Array | 3628 |
| 503 | Number of Days Between Two Dates LeetCode Solution | 3620 |
| 504 | Find Median from Data Stream LeetCode Solution | 3618 |
| 505 | Queue using Stacks | 3617 |
| 506 | Minimum Number of Taps to Open to Water a Garden LeetCode Solution | 3614 |
| 507 | Cells with Odd Values in a Matrix LeetCode Solution | 3610 |
| 508 | Path Crossing Leetcode Solution | 3599 |
| 509 | How to Implement Stack Using Priority Queue or Heap? | 3597 |
| 510 | Generate all Binary Strings from Given Pattern | 3592 |
| 511 | Design Hit Counter LeetCode Solution | 3588 |
| 512 | The Stock Span Problem | 3585 |
| 513 | Count subarrays having total distinct elements same as original array | 3575 |
| 514 | Is Graph Bipartite? LeetCode Solution | 3574 |
| 515 | Sieve of Eratosthenes | 3574 |
| 516 | Kth ancestor of a node in binary tree | 3573 |
| 517 | Detect a loop in the Linked List | 3572 |
| 518 | Path Sum II LeetCode Solution | 3570 |
| 519 | Analyze User Website Visit Pattern LeetCode Solution | 3565 |
| 520 | Intersection of Two Linked Lists LeetCode Solution | 3564 |
| 521 | Longest Increasing Path in a Matrix LeetCode Solution | 3560 |
| 522 | Pancake Sorting Problem | 3559 |
| 523 | Shortest Completing Word Leetcode Solution | 3558 |
| 524 | Find a Fixed Point in a Given Array | 3557 |
| 525 | Divide Chocolate LeetCode Solution | 3554 |
| 526 | Letter Case Permutation | 3545 |
| 527 | Count Submatrices With All Ones LeetCode Solution | 3542 |
| 528 | Largest rectangular sub-matrix whose sum is 0 | 3539 |
| 529 | Monotonic Array Leetcode Solution | 3538 |
| 530 | Check if Array Contains Contiguous Integers With Duplicates Allowed | 3531 |
| 531 | Custom Sort String Leetcode Solution | 3528 |
| 532 | Construction of Longest Increasing Subsequence (N log N) | 3524 |
| 533 | Group Anagrams | 3521 |
| 534 | Implement strStr() LeetCode Solution | 3517 |
| 535 | Minimum Height Trees | 3515 |
| 536 | Best Time to Buy and Sell Stock with Transaction Fee Leetcode Solution | 3511 |
| 537 | Different Ways to Add Parentheses Leetcode Solution | 3506 |
| 538 | Decode Ways | 3506 |
| 539 | Maximum Element in an Array which is Increasing and then Decreasing | 3506 |
| 540 | Determine Whether Matrix Can Be Obtained By Rotation LeetCode Solution | 3501 |
| 541 | Valid Boomerang Leetcode Solution | 3498 |
| 542 | Merge Overlapping Intervals | 3493 |
| 543 | Find maximum length Snake sequence | 3487 |
| 544 | Queue based approach for first non-repeating character in a stream | 3485 |
| 545 | Nearest Exit from Entrance in Maze LeetCode Solution | 3475 |
| 546 | Scramble String LeetCode Solution | 3470 |
| 547 | How to Create Mergable Stack? | 3468 |
| 548 | Perfect Squares LeetCode Solution | 3465 |
| 549 | Shifting Letters LeetCode Solution | 3461 |
| 550 | Number of Distinct Islands Leetcode Solution | 3461 |
| 551 | Best Time to Buy and Sell Stock IV LeetCode Solution | 3459 |
| 552 | Find the Lost Element From a Duplicated Array | 3458 |
| 553 | Decode String | 3457 |
| 554 | Implement Trie (Prefix Tree) Leetcode Solution | 3454 |
| 555 | LCS (Longest Common Subsequence) of three strings | 3446 |
| 556 | First missing positive | 3438 |
| 557 | Guess Number Higher or Lower II | 3437 |
| 558 | Longest Common Prefix using Divide and Conquer | 3437 |
| 559 | Reorder Data in Log Files LeetCode Solution | 3435 |
| 560 | Design Skiplist LeetCode Solution | 3434 |
| 561 | Number of Equivalent Domino Pairs Leetcode Solution | 3433 |
| 562 | Sliding Window Maximum | 3432 |
| 563 | Most Stones Removed with Same Row or Column LeetCode Solution | 3429 |
| 564 | Sort a stack using recursion | 3429 |
| 565 | Maximum Sum of Non Consecutive Elements | 3429 |
| 566 | Count Possible Triangles | 3421 |
| 567 | Find if an Expression has Duplicate Parenthesis or Not | 3420 |
| 568 | Race Car LeetCode Solution | 3419 |
| 569 | Champagne Tower LeetCode Solution | 3419 |
| 570 | Build an Array With Stack Operations Leetcode Solution | 3415 |
| 571 | Binary Tree zigzag level order Traversal | 3413 |
| 572 | Recover Binary Search Tree | 3413 |
| 573 | Contiguous Array LeetCode Solution | 3404 |
| 574 | Insert Node in the Sorted Linked List | 3404 |
| 575 | All Possible Full Binary Trees LeetCode Solution | 3403 |
| 576 | Rectangle Overlap LeetCode Solution | 3401 |
| 577 | Largest Subarray with Equal Number of 0’s and 1’s | 3400 |
| 578 | Smallest Good Base | 3388 |
| 579 | Minimum Bracket Reversals | 3380 |
| 580 | Make Two Arrays Equal by Reversing Sub-arrays Leetcode Solution | 3379 |
| 581 | Maximum Length of Chain Pairs | 3379 |
| 582 | Palindrome Permutation LeetCode Solution | 3365 |
| 583 | Find the two Numbers with Odd Occurrences in an Unsorted Array | 3361 |
| 584 | Longest Substring with At Least K Repeating Characters LeetCode Solution | 3355 |
| 585 | Group Multiple Occurrence of Array Elements Ordered by first Occurrence | 3354 |
| 586 | Maximum Depth of N-ary Tree Leetcode Solution | 3351 |
| 587 | Maximum Number of Ways to Partition an Array LeetCode Solution | 3350 |
| 588 | Minimum Height Trees LeetCode Solution | 3349 |
| 589 | Distance Between Bus Stops Leetcode Solution | 3347 |
| 590 | Longest Repeated Subsequence | 3347 |
| 591 | Rearrange Spaces Between Words Leetcode Solution | 3346 |
| 592 | Find a Sorted Subsequence of size 3 | 3346 |
| 593 | Recover Binary Search Tree Leetcode Solution | 3341 |
| 594 | Design a Stack With Increment Operation Leetcode Solution | 3337 |
| 595 | Merge Two Binary Trees LeetCode Solution | 3334 |
| 596 | Find the Town Judge LeetCode Solution | 3331 |
| 597 | Implement Two Stacks in an Array | 3330 |
| 598 | Palindrome Partitioning Leetcode Solution | 3327 |
| 599 | Subarrays with K Different Integers Leetcode Solution | 3323 |
| 600 | Reorder an Array According to the Given Indexes | 3321 |
| 601 | Valid Parentheses Leetcode Solution | 3319 |
| 602 | K-th Distinct Element in an Array | 3318 |
| 603 | Lowest Common Ancestor of a Binary Search Tree Leetcode Solution | 3312 |
| 604 | Heap Sort | 3310 |
| 605 | Print all Palindromic Partitions of a String | 3310 |
| 606 | Check for Balanced Parentheses in an Expression | 3301 |
| 607 | Huffman Coding | 3299 |
| 608 | Maximum sum rectangle in a 2D matrix | 3289 |
| 609 | Find the First Circular Tour that visits all the Petrol Pumps | 3287 |
| 610 | Minimum number of jumps to reach end | 3285 |
| 611 | Maximum Score After Splitting a String Leetcode Solution | 3283 |
| 612 | Count pair with Given Sum | 3277 |
| 613 | Contains Duplicate | 3275 |
| 614 | The Maze III LeetCode Solution | 3272 |
| 615 | Jump Game IV LeetCode Solution | 3269 |
| 616 | Sort a String According to Another String | 3266 |
| 617 | Maximize Elements Using Another Array | 3264 |
| 618 | Perform String Shifts Leetcode | 3264 |
| 619 | Merge Overlapping Intervals II | 3264 |
| 620 | Mean of Array After Removing Some Elements Leetcode Solution | 3263 |
| 621 | Palindrome Permutation | 3243 |
| 622 | Word Break | 3241 |
| 623 | Find First and Last Position of Element in Sorted Array LeetCode Solution | 3240 |
| 624 | Valid Sudoku | 3228 |
| 625 | Find the Minimum Element in a Sorted and Rotated Array | 3227 |
| 626 | Convert BST to Min Heap | 3220 |
| 627 | Palindrome Permutations of a String | 3220 |
| 628 | Find Largest Value in Each Tree Row LeetCode Solution | 3213 |
| 629 | All Unique Triplets that Sum up to a Given Value | 3211 |
| 630 | Minimum Jumps to Reach Home LeetCode Solution | 3209 |
| 631 | Possible Bipartition LeetCode Solution | 3207 |
| 632 | Iterative Method to find Height of Binary Tree | 3206 |
| 633 | Find all triplets with zero sum | 3202 |
| 634 | A Space Optimized DP solution for 0-1 Knapsack Problem | 3202 |
| 635 | Caesar Cipher | 3202 |
| 636 | Edit Distance LeetCode Solution | 3197 |
| 637 | Count Sub Islands LeetCode Solution | 3192 |
| 638 | Find Median from data Stream | 3178 |
| 639 | Palindromic Substrings Leetcode Solution | 3174 |
| 640 | My Calendar I LeetCode Solution | 3167 |
| 641 | Reach a Number LeetCode Solution | 3166 |
| 642 | Segregate 0s and 1s in an Array | 3165 |
| 643 | Best Meeting Point LeetCode Solution | 3155 |
| 644 | Number of palindromic paths in a matrix | 3154 |
| 645 | Maximum Product of Splitted Binary Tree LeetCode Solution | 3153 |
| 646 | Level order Traversal in Spiral Form | 3151 |
| 647 | Find the Subarray of given length with Least Average | 3149 |
| 648 | Merge Two Balanced Binary Search Trees | 3140 |
| 649 | Pair with given product | 3136 |
| 650 | Count Good Nodes in Binary Tree LeetCode Solution | 3134 |
| 651 | Check if the given array can represent Level Order Traversal of Binary Search Tree | 3130 |
| 652 | Word Pattern | 3130 |
| 653 | Rearrange Array such that arr[i] >= arr[j] if i is even and arr[i] <= arr[j] if i is odd and j < i | 3127 |
| 654 | Breadth First Search (BFS) for a Graph | 3123 |
| 655 | Alien Dictionary | 3120 |
| 656 | Validate Binary Search Tree | 3113 |
| 657 | Partition Problem | 3103 |
| 658 | Brick Wall LeetCode Solution | 3102 |
| 659 | Sorted Linked List to Balanced BST | 3096 |
| 660 | Isomorphic Strings LeetCode Solution | 3093 |
| 661 | Convert Sorted List to Binary Search Tree | 3090 |
| 662 | Number of Subsequences That Satisfy the Given Sum Condition LeetCode solution | 3082 |
| 663 | Find whether a subarray is in form of a mountain or not | 3081 |
| 664 | Add two numbers | 3080 |
| 665 | Minimum time required to rot all oranges | 3078 |
| 666 | How to Efficiently Implement k Stacks in a Single Array? | 3074 |
| 667 | Construct BST from given Preorder Traversal | 3073 |
| 668 | Swapping Nodes in a Linked List Leetcode Solution | 3072 |
| 669 | Sort 0s 1s and 2s in an Array | 3069 |
| 670 | Shortest Path in a Grid with Obstacles Elimination LeetCode Solution | 3068 |
| 671 | Maximize Sum of Array after K Negations Leetcode Solution | 3067 |
| 672 | Largest Sum Contiguous Subarray | 3056 |
| 673 | Longest Subarray Having Count of 1s One More than Count of 0s | 3055 |
| 674 | Queries on Probability of Even or Odd Number in given Ranges | 3055 |
| 675 | Populating Next Right Pointers in Each Node | 3054 |
| 676 | Rotate Array | 3054 |
| 677 | Bubble sort using two Stacks | 3053 |
| 678 | Merge K Sorted Arrays and Print Sorted Output | 3052 |
| 679 | Remove brackets from an algebraic string containing + and – operators | 3051 |
| 680 | Print Fibonacci sequence using 2 variables | 3046 |
| 681 | Find all pairs (a, b) in an array such that a % b = k | 3043 |
| 682 | Range Sum Query 2D – Immutable LeetCode Solution | 3034 |
| 683 | Find four elements that sum to a given value (Hashmap) | 3031 |
| 684 | Count Distinct Elements in Every Window of Size K | 3029 |
| 685 | Find Zeros to be Flipped so that Number of Consecutive 1’s is Maximized | 3029 |
| 686 | Maximum Number of Chocolates to be Distributed Equally Among k Students | 3025 |
| 687 | Count ways to reach the nth stair using step 1, 2 or 3 | 3022 |
| 688 | Filter Restaurants by Vegan-Friendly, Price and Distance Leetcode Solution | 3020 |
| 689 | Maximum Frequency Stack Leetcode Solution | 3008 |
| 690 | Merge Two Sorted Lists Leetcode | 3008 |
| 691 | Detect Capital Leetcode Solution | 3000 |
| 692 | Minimum Swaps to Group All 1’s Together Leetcode Solution | 2994 |
| 693 | Difference Array | Range update query in O(1) | 2985 |
| 694 | Split Array Into Consecutive Subsequences | 2985 |
| 695 | Partition Equal Subset Sum | 2985 |
| 696 | Binary Tree Right Side View LeetCode Solution | 2983 |
| 697 | Counting Bits | 2979 |
| 698 | Remove Palindromic Subsequences Leetcode Solution | 2976 |
| 699 | Remove duplicates from sorted array | 2976 |
| 700 | Binary Tree to Binary Search Tree Conversion | 2974 |
| 701 | Partition to K Equal Sum Subsets Leetcode Solution | 2971 |
| 702 | Print all subarrays with 0 sum | 2968 |
| 703 | Contiguous Array Leetcode | 2967 |
| 704 | Check if a Linked list of Strings form a Palindrome | 2964 |
| 705 | Happy Number | 2956 |
| 706 | Length of Longest Fibonacci Subsequence | 2954 |
| 707 | Topological Sorting | 2954 |
| 708 | Minimum Sum Path in a Triangle | 2949 |
| 709 | Elements Appear more than N/K times in Array | 2948 |
| 710 | Find pairs with given sum such that elements of pair are in different rows | 2939 |
| 711 | Minimum Swaps to Make Strings Equal Leetcode Solution | 2936 |
| 712 | Concatenation of Array LeetCode Solution | 2935 |
| 713 | Populating Next Right Pointers in Each Node Leetcode Solution | 2933 |
| 714 | Arithmetic Slices II – Subsequence LeetCode Solution | 2928 |
| 715 | Minimum Number of Arrows to Burst Balloons LeetCode Solution | 2923 |
| 716 | Reverse Nodes in K-Group | 2917 |
| 717 | String comparison containing wildcards | 2917 |
| 718 | Find All Pairs With a Given Difference | 2916 |
| 719 | Web Crawler LeetCode Solution | 2912 |
| 720 | Inorder Successor of a node in Binary Tree | 2912 |
| 721 | MiniMax Algorithm | 2909 |
| 722 | Queue Reconstruction by Height | 2908 |
| 723 | An Interesting Method to generate Binary Numbers from 1 to n | 2900 |
| 724 | Increasing Subsequence of Length three with Maximum Product | 2878 |
| 725 | Maximum Distance in Array | 2877 |
| 726 | Score of Parenthesis LeetCode Solution | 2875 |
| 727 | Swap Kth Node from beginning with Kth Node from End | 2870 |
| 728 | Root to Leaf path with target sum Leetcode Solutions | 2862 |
| 729 | Longest Increasing Subsequence | 2862 |
| 730 | Given a binary tree, how do you remove all the half nodes? | 2860 |
| 731 | Finding K closest element | 2857 |
| 732 | Union and Intersection of two Linked Lists | 2849 |
| 733 | Longest Common Prefix Using Binary Search II | 2849 |
| 734 | Find Duplicate Subtrees | 2848 |
| 735 | Climbing stairs | 2848 |
| 736 | Iterative Preorder Traversal | 2847 |
| 737 | Delete Nth node from the end of the given linked list | 2846 |
| 738 | Check if String Follows Order of Characters by a Pattern or not | 2844 |
| 739 | Pancake Sorting | 2829 |
| 740 | BFS vs DFS for Binary Tree | 2826 |
| 741 | Construct Binary Tree from given Parent Array representation | 2819 |
| 742 | Maximum Product Subarray II | 2819 |
| 743 | Find the first repeating element in an array of integers | 2818 |
| 744 | Container with Most Water | 2816 |
| 745 | Find K Closest Elements LeetCode Solution | 2814 |
| 746 | Symmetric Tree | 2814 |
| 747 | Parallel Courses II LeetCode Solution | 2807 |
| 748 | Count Minimum Steps to Get the given Array | 2804 |
| 749 | Deletion in a Binary Tree | 2796 |
| 750 | Construct Binary Tree from Preorder and Postorder Traversal LeetCode Solution | 2787 |
| 751 | Find the Difference Leetcode Solution | 2783 |
| 752 | Nested List Weight Sum II LeetCode Solution | 2780 |
| 753 | Check if all levels of two Binary Tree are anagrams or not | 2778 |
| 754 | Delete Nodes and Return Forest Leetcode Solution | 2776 |
| 755 | Rearrange an Array Such that arr[i] is equal to i | 2773 |
| 756 | Minimum Cost to Move Chips to The Same Position LeetCode Solution | 2769 |
| 757 | Level order traversal using two Queues | 2769 |
| 758 | Sum Root to Leaf Numbers LeetCode Solution | 2765 |
| 759 | Find Maximum of Minimum for Every Window Size in a Given Array | 2765 |
| 760 | Level of Each node in a Tree from source node | 2765 |
| 761 | Substring With Concatenation Of All Words | 2762 |
| 762 | Kill Process LeetCode Solution | 2759 |
| 763 | Tree Traversal (Preorder, Inorder & Postorder) | 2758 |
| 764 | Boundary Traversal of binary tree | 2757 |
| 765 | Minimum Size Subarray Sum | 2756 |
| 766 | Sort Array by Increasing Frequency Leetcode Solution | 2751 |
| 767 | Super Ugly Number | 2751 |
| 768 | Count pairs from two linked lists whose sum is equal to a given value | 2750 |
| 769 | Linked List Cycle | 2747 |
| 770 | Iterative Depth First Traversal of Graph | 2744 |
| 771 | Non-overlapping sum of two sets | 2743 |
| 772 | Minimum Remove to Make Valid Parentheses LeetCode Solution | 2742 |
| 773 | K maximum sums of overlapping contiguous sub-arrays | 2737 |
| 774 | Check if any two intervals overlap among a given set of intervals | 2734 |
| 775 | Reorder Array Using Given Indexes | 2734 |
| 776 | Matrix Chain Multiplication | 2730 |
| 777 | New 21 Game | 2729 |
| 778 | Valid Anagrams | 2728 |
| 779 | Remove Duplicates from Sorted List II | 2724 |
| 780 | Flatten Binary Tree to Linked List LeetCode Solution | 2720 |
| 781 | Sum of f(a[i], a[j]) over all pairs in an array of n integers | 2719 |
| 782 | Maximum size subarray sum equals k | 2719 |
| 783 | Longest Common Prefix Word by Word Matching | 2719 |
| 784 | Merging Intervals | 2717 |
| 785 | Reservoir Sampling | 2710 |
| 786 | Merge K Sorted Linked Lists | 2706 |
| 787 | Range LCM Queries | 2705 |
| 788 | Palindrome Partitioning | 2703 |
| 789 | Print a Binary Tree in Vertical Order | 2692 |
| 790 | Sorting a K Sorted Array | 2692 |
| 791 | Balanced Binary Tree | 2687 |
| 792 | Hamming Distance | 2685 |
| 793 | Missing Number | 2680 |
| 794 | The Painter’s Partition Problem | 2676 |
| 795 | Maximum Product Subarray | 2669 |
| 796 | Peak Index in a Mountain Array LeetCode Solution | 2665 |
| 797 | Create Maximum Number | 2664 |
| 798 | Maximum difference between two elements such as larger element comes after smaller | 2662 |
| 799 | Iterative Postorder Traversal Using Two Stacks | 2655 |
| 800 | Check if Two Expressions With Brackets are Same | 2655 |
| 801 | Friends Of Appropriate Ages LeetCode Solution | 2654 |
| 802 | Check if a queue can be sorted into another queue using a stack | 2654 |
| 803 | Defanging an IP Address LeetCode Solution | 2651 |
| 804 | Valid Triangle Number LeetCode Solution | 2650 |
| 805 | Find Maximum Sum Possible Equal Sum of Three Stacks | 2646 |
| 806 | Lowest Common Ancestor | 2643 |
| 807 | Verify Preorder Serialization of a Binary Tree | 2641 |
| 808 | Find Three Element From Different Three Arrays Such That a + b + c = sum | 2640 |
| 809 | Minimum insertions to form a palindrome with permutations allowed | 2635 |
| 810 | Count number of triplets with product equal to given number | 2632 |
| 811 | Find Sum of all unique sub-array sum for a given array | 2630 |
| 812 | Sort Elements by Frequency II | 2630 |
| 813 | Find Element Using Binary Search in Sorted Array | 2628 |
| 814 | Unique Binary Search Trees LeetCode Solution | 2626 |
| 815 | Find distance between two nodes of a Binary Tree | 2624 |
| 816 | Valid Triangle Number LeetCode Solution | 2623 |
| 817 | Maximum difference between frequency of two elements such that element having greater frequency is also greater | 2623 |
| 818 | Find subarray with given sum (Handles Negative Numbers) | 2623 |
| 819 | Check if a given array can represent Preorder Traversal of Binary Search Tree | 2621 |
| 820 | Vertical sum in a given binary tree | 2621 |
| 821 | Newman-Conway Sequence | 2618 |
| 822 | Smallest Range II Leetcode Solution | 2617 |
| 823 | Check if two nodes are on the same path in a Tree | 2600 |
| 824 | Merging Two Sorted Arrays | 2600 |
| 825 | Largest Submatrix With Rearrangements LeetCode Solution | 2599 |
| 826 | Minimum Distance Between BST Nodes Leetcode Solution | 2599 |
| 827 | Number Of Longest Increasing Subsequence | 2598 |
| 828 | Find K Length Subarray of Maximum Average | 2598 |
| 829 | Segment Tree | 2590 |
| 830 | Maximum subsequence sum such that no three are consecutive | 2588 |
| 831 | Check Completeness of a Binary Tree LeetCode Solution | 2587 |
| 832 | First Bad Version | 2585 |
| 833 | Find Common Characters Leetcode Solution | 2582 |
| 834 | Third Maximum Number Leetcode Solution | 2581 |
| 835 | Print all triplets in sorted array that form AP | 2581 |
| 836 | Print All Distinct Elements of a Given Integer Array | 2576 |
| 837 | Flatten 2D Vector LeetCode Solution | 2573 |
| 838 | Products of ranges in an array | 2570 |
| 839 | Arrange given numbers to form the biggest number | 2570 |
| 840 | Range Sum Query using Sparse Table | 2569 |
| 841 | Maximum number of segments of lengths a, b and c | 2569 |
| 842 | Largest subarray with equal number of 0s and 1s | 2568 |
| 843 | Lower Case To Upper Case | 2567 |
| 844 | Longest Bitonic Subsequence | 2565 |
| 845 | Find Smallest Range Containing Elements from k Lists | 2559 |
| 846 | Closest Leaf in a Binary Tree LeetCode Solution | 2554 |
| 847 | Diagonal Traversal of Binary Tree | 2552 |
| 848 | Kth Smallest Element in a Sorted Matrix LeetCode Solution | 2550 |
| 849 | Find Peak Element | 2549 |
| 850 | Valid Parenthesis String | 2547 |
| 851 | Array Nesting Leetcode Solution | 2546 |
| 852 | Employee Importance LeetCode Solution | 2546 |
| 853 | Stone Game IV LeetCode Solution | 2545 |
| 854 | Trapping Rain Water II LeetCode Solution | 2540 |
| 855 | Median of Two Sorted Arrays | 2536 |
| 856 | Find Nth Node | 2536 |
| 857 | Maximum Population Year LeetCode Solution | 2533 |
| 858 | Contiguous Array | 2529 |
| 859 | Compare Strings by Frequency of the Smallest Character Leetcode Solution | 2526 |
| 860 | Print Right View of a Binary Tree | 2526 |
| 861 | Distinct Subsequences | 2523 |
| 862 | Write a function to get the intersection point of two Linked Lists | 2518 |
| 863 | Longest Palindromic Subsequence | 2518 |
| 864 | Bottom View of a Binary Tree | 2516 |
| 865 | Largest BST Subtree LeetCode Solution | 2509 |
| 866 | Shuffle an Array | 2508 |
| 867 | Largest divisible pairs subset | 2506 |
| 868 | Infix to Postfix | 2503 |
| 869 | Four Elements that Sum to Given | 2499 |
| 870 | Number of siblings of a given Node in n-ary Tree | 2493 |
| 871 | Path Sum | 2492 |
| 872 | Count and Say | 2489 |
| 873 | Stone Game IV LeetCode Solution | 2486 |
| 874 | Find the largest multiple of 3 | 2482 |
| 875 | Binary array after M range toggle operations | 2481 |
| 876 | Subset Sum Problem in O(sum) space | 2481 |
| 877 | Isomorphic Strings | 2481 |
| 878 | Merge Two Sorted Arrays | 2477 |
| 879 | Permutations of a Given String Using STL | 2475 |
| 880 | Unique Binary Search Trees | 2473 |
| 881 | Red-Black Tree Introduction | 2469 |
| 882 | Minimum Swaps To Make Sequences Increasing LeetCode Solution | 2465 |
| 883 | Closest Binary Search Tree Value Leetcode Solution | 2461 |
| 884 | Friends Pairing Problem | 2455 |
| 885 | Height of a generic tree from parent array | 2455 |
| 886 | Next Greater Element in an Array | 2453 |
| 887 | Maximum Side Length of a Square with Sum Less than or Equal to Threshold LeetCode Solution | 2452 |
| 888 | The Number of Weak Characters in the Game LeetCode Solution | 2448 |
| 889 | Maximum Product Subarray | 2442 |
| 890 | Find Largest d in Array such that a + b + c = d | 2440 |
| 891 | Count Primes in Ranges | 2437 |
| 892 | Valid Perfect Square LeetCode Solution | 2430 |
| 893 | Valid Number | 2428 |
| 894 | Sentence Screen Fitting LeetCode Solution | 2427 |
| 895 | Insert Delete GetRandom | 2418 |
| 896 | Encoded String With Shortest Length LeetCode Solution | 2417 |
| 897 | Rearrange an array such that ‘arr[j]’ becomes ‘i’ if ‘arr[i]’ is ‘j’ | 2415 |
| 898 | Range Minimum Query (Square Root Decomposition and Sparse Table) | 2414 |
| 899 | Transform a BST to Greater sum Tree | 2410 |
| 900 | Print n terms of Newman-Conway Sequence | 2407 |
| 901 | Averages of Levels in Binary Tree | 2407 |
| 902 | Find unique character in a string | 2397 |
| 903 | Shuffle a given Array | 2391 |
| 904 | Binary Search Tree Delete Operation | 2390 |
| 905 | Maximum Sum of 3 Non-Overlapping Subarrays | 2385 |
| 906 | Step-By-Step Directions From a Binary Tree Node to Another LeetCode Solution | 2382 |
| 907 | Edit Distance | 2380 |
| 908 | Binary Tree Longest Consecutive Sequence LeetCode Solution | 2377 |
| 909 | Convert BST into a Min-Heap without using array | 2377 |
| 910 | Integer to Roman | 2369 |
| 911 | Serialize and Deserialize Binary Tree LeetCode Solution | 2365 |
| 912 | Reorganize String | 2364 |
| 913 | Minimum sum of squares of character counts in a given string after removing k characters | 2363 |
| 914 | Orderly Queue LeetCode Solution | 2359 |
| 915 | Maximum Product Subarray | 2355 |
| 916 | Range Queries for Longest Correct Bracket Subsequence | 2352 |
| 917 | Next greater element | 2350 |
| 918 | Find Minimum In Rotated Sorted Array | 2347 |
| 919 | Serialize and Deserialize Binary Tree | 2346 |
| 920 | Kth Smallest Number in Multiplication Table Leetcode Solution | 2343 |
| 921 | Lowest Common Ancestor in Binary Search Tree | 2336 |
| 922 | Koko Eating Bananas LeetCode Solution | 2335 |
| 923 | Array Queries for multiply replacements and product | 2334 |
| 924 | Next Greater Element II LeetCode Solution | 2333 |
| 925 | K’th Largest element in BST using constant extra space | 2333 |
| 926 | Bold Words in String LeetCode Solution | 2332 |
| 927 | Find the smallest binary digit multiple of given number | 2331 |
| 928 | Swap Nodes In Pairs | 2329 |
| 929 | Maximum Sum Increasing Subsequence | 2313 |
| 930 | Diameter of N-Ary Tree LeetCode Solution | 2312 |
| 931 | K’th Largest Element in BST when modification to BST is not allowed | 2302 |
| 932 | Advantages of BST over Hash Table | 2298 |
| 933 | Insert into a Sorted Circular Linked List LeetCode Solution | 2296 |
| 934 | Constant time range add operation on an array | 2296 |
| 935 | Moving Stones Until Consecutive Leetcode Solution | 2294 |
| 936 | Write Code to Determine if Two Trees are Identical | 2289 |
| 937 | Design Underground System Leetcode Solution | 2284 |
| 938 | Valid Tic-Tac-Toe State LeetCode Solution | 2275 |
| 939 | Best Meeting Point LeetCode Solution | 2274 |
| 940 | Queries on XOR of greatest odd divisor of the range | 2256 |
| 941 | Check if an Array is Stack Sortable | 2256 |
| 942 | Reverse a Path in BST using Queue | 2251 |
| 943 | Power of Two | 2251 |
| 944 | Longest Increasing Consecutive Subsequence | 2250 |
| 945 | Number of elements less than or equal to a given number in a given subarray | 2248 |
| 946 | Numbers with prime frequencies greater than or equal to k | 2247 |
| 947 | Total Hamming Distance LeetCode Solution | 2246 |
| 948 | Check if each internal node of a BST has exactly one child | 2237 |
| 949 | Number of Orders in the Backlog Leetcode Solution | 2236 |
| 950 | Check if X can give change to every person in the Queue | 2235 |
| 951 | Greatest Sum Divisible by Three LeetCode Solution | 2232 |
| 952 | Form minimum number from given sequence | 2230 |
| 953 | Image Overlap LeetCode Solution | 2229 |
| 954 | Clone a Binary Tree with Random Pointers | 2227 |
| 955 | Level Order Traversal of Binary Tree | 2227 |
| 956 | Maximum Array from Two given Arrays Keeping Order Same | 2226 |
| 957 | Find the node with minimum value in a Binary Search Tree | 2226 |
| 958 | A program to check if a binary tree is BST or not | 2223 |
| 959 | Count the Pairs at Same Distance as in English Alphabets | 2223 |
| 960 | Find minimum number of merge operations to make an array palindrome | 2222 |
| 961 | Design Add and Search Words Data Structure LeetCode Solution | 2216 |
| 962 | Graph Cloning | 2212 |
| 963 | Factorial Trailing Zeroes LeetCode Solution | 2206 |
| 964 | Count and Toggle Queries on a Binary Array | 2205 |
| 965 | Merge Sort | 2205 |
| 966 | Collect maximum points in a grid using two traversals | 2202 |
| 967 | Closest Binary Search Tree Value II LeetCode Solution | 2195 |
| 968 | Largest Plus Sign Leetcode Solution | 2190 |
| 969 | Form Minimum Number From Given Sequence | 2188 |
| 970 | Check for Palindrome after every character replacement Query | 2187 |
| 971 | Print Next Greater Number of Q queries | 2185 |
| 972 | Merge two BSTs with limited extra space | 2184 |
| 973 | Queries for Decimal Values of Subarrays of a Binary Array | 2179 |
| 974 | Merge Sorted Array | 2179 |
| 975 | Maximum difference between first and last indexes of an element in array | 2177 |
| 976 | Group Shifted Strings Leetcode Solution | 2175 |
| 977 | Dividing Array into Pairs With Sum Divisible by K | 2174 |
| 978 | Print all Possible Ways to Break a String in Bracket Form | 2174 |
| 979 | Print Ancestors of a Given Binary Tree Node Without Recursion | 2153 |
| 980 | Priority Queue | 2150 |
| 981 | Excel Sheet Column Number LeetCode Solution | 2142 |
| 982 | Count even length binary sequences with same sum of first and second half bits | 2135 |
| 983 | Print modified array after multiple array range increment operations | 2135 |
| 984 | Longest Substring Without Repeating Characters Leetcode Solution | 2129 |
| 985 | Binary Search Tree | 2124 |
| 986 | Guess The Word | 2124 |
| 987 | Palindrome Partitioning | 2121 |
| 988 | Swim in Rising Water LeetCode Solution | 2119 |
| 989 | Minimum Moves to Equal Array Elements LeetCode Solution | 2114 |
| 990 | Cutting a Rod | 2111 |
| 991 | Find postorder traversal of BST from preorder traversal | 2104 |
| 992 | Kth Smallest Element in a BST | 2100 |
| 993 | Unique Paths II | 2090 |
| 994 | Excel Sheet Column Title LeetCode Solution | 2089 |
| 995 | Count Pairs Whose Products Exist in Array | 2081 |
| 996 | Find maximum average subarray of k length | 2071 |
| 997 | Insert Delete GetRandom O(1) – Duplicates allowed LeetCode Solution | 2070 |
| 998 | How to print maximum number of A’s using given four keys | 2068 |
| 999 | Binary Search Tree Search and Insertion | 2064 |
| 1000 | Regular Expression Matching | 2062 |
| 1001 | Longest Common Prefix using Character by Character Matching | 2051 |
| 1002 | Check given array of size n can represent BST of n levels or not | 2047 |
| 1003 | Sum of Left Leaves LeetCode Solution | 2046 |
| 1004 | K Empty Slots | 2036 |
| 1005 | Sorted Array to Balanced BST | 2014 |
| 1006 | Queries for Number of Distinct Elements in a Subarray | 2010 |
| 1007 | Minimum Possible Integer After at Most K Adjacent Swaps On Digits LeetCode Solution | 2008 |
| 1008 | Decrease Elements To Make Array Zigzag LeetCode Solution | 1998 |
| 1009 | Maximum Depth Of Binary Tree | 1990 |
| 1010 | Iterative method to find ancestors of a given binary tree | 1982 |
| 1011 | Find the Town Judge LeetCode Solution | 1973 |
| 1012 | Construct Complete Binary Tree from its Linked List Representation | 1971 |
| 1013 | Shortest Unsorted Continuous Subarray LeetCode Solution | 1960 |
| 1014 | Binary Tree to Binary Search Tree Conversion using STL set | 1940 |
| 1015 | Maximum weight transformation of a given string | 1939 |
| 1016 | Find Maximum Depth of Nested Parenthesis in a String | 1939 |
| 1017 | Symmetric Tree LeetCode Solution Leetcode Solution | 1922 |
| 1018 | Data Structure Designing | 1905 |
| 1019 | Random Pick Index LeetCode Solution | 1904 |
| 1020 | Search in Sorted Rotated Array | 1893 |
| 1021 | Convert a BST to a Binary Tree such that sum of all greater keys is added to every key | 1863 |
| 1022 | Search an Element in Sorted Rotated Array | 1850 |
| 1023 | Kth Smallest Product of Two Sorted Arrays LeetCode Solution | 1848 |
| 1024 | Next Greater Element I Leetcode Solution | 1847 |
| 1025 | Minimum Number of Operations to Move All Balls to Each Box LeetCode Solution | 1834 |
| 1026 | Print Maximum Length Chain of Pairs | 1828 |
| 1027 | Flatten Binary Tree to Linked List LeetCode Solution | 1805 |
| 1028 | Maximum Binary Tree | 1784 |
| 1029 | Find k-th smallest element in BST (Order Statistics in BST) | 1754 |
| 1030 | Peeking Iterator LeetCode Solution | 1749 |
| 1031 | Find Two Non-overlapping Sub-arrays Each With Target Sum LeetCode Solution | 1698 |