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 | 43848 |
| 2 | Maximum occurring character in a string | 19914 |
| 3 | Plus One Leetcode Solution | 19627 |
| 4 | Valid Parentheses LeetCode Solution | 19416 |
| 5 | 3Sum Leetcode Solution | 17719 |
| 6 | Merge Sorted Arrays Leetcode Solution | 15559 |
| 7 | First Repeating Element | 15376 |
| 8 | Single Number Leetcode Solution | 15073 |
| 9 | Count Primes Leetcode Solutions | 14861 |
| 10 | Pow(x, n) Leetcode Solution | 14780 |
| 11 | Sqrt(x) Leetcode Solution | 14564 |
| 12 | Meeting Rooms II LeetCode Solution | 13588 |
| 13 | Concatenation of Array LeetCode Solution | 13048 |
| 14 | Roman to Integer Leetcode Solution | 12191 |
| 15 | Valid Palindrome Leetcode Solution | 12012 |
| 16 | Search Insert Position Leetcode Solution | 11928 |
| 17 | Contains Duplicate II Leetcode Solution | 11916 |
| 18 | Palindrome Number LeetCode Solution | 11767 |
| 19 | Remove Duplicates from Sorted Array Leetcode Solution | 11610 |
| 20 | Jump Game Leetcode Solution | 11342 |
| 21 | Reverse Vowels of a String Leetcode Solution | 11293 |
| 22 | Longest Substring Without Repeating Characters LeetCode Solution | 11281 |
| 23 | Number of Good Pairs Leetcode Solution | 11278 |
| 24 | Intersection of Two Arrays II Leetcode Solution | 11235 |
| 25 | Spiral Matrix LeetCode Solution | 11000 |
| 26 | House Robber Leetcode Solution | 10945 |
| 27 | Kids With the Greatest Number of Candies Leetcode Solution | 10914 |
| 28 | Add Binary Leetcode Solution | 10806 |
| 29 | Maximum Subarray Leetcode Solution | 10465 |
| 30 | Number Of 1 bits | 10407 |
| 31 | Find the Maximum Repeating Number in Array | 10183 |
| 32 | Text Justification LeetCode Solution | 10100 |
| 33 | Move Zeroes LeetCode Solution | 9974 |
| 34 | Jewels and Stones Leetcode Solution | 9947 |
| 35 | Min Stack Leetcode Solution | 9937 |
| 36 | Power of Two Leetcode Solution | 9694 |
| 37 | Longest Palindromic Substring LeetCode Solution | 9687 |
| 38 | Permutations Leetcode Solution | 9653 |
| 39 | Shuffle String Leetcode Solution | 9643 |
| 40 | Word Search Leetcode Solution | 9556 |
| 41 | Third Maximum Number Leetcode Solution | 9495 |
| 42 | Daily Temperatures Leetcode Solution | 9491 |
| 43 | Evaluation of Postfix Expression | 9460 |
| 44 | Find All Numbers Disappeared in an Array Leetcode Solution | 9448 |
| 45 | Median of Two Sorted Arrays LeetCode Solution | 9416 |
| 46 | Next Permutation Leetcode Solution | 9346 |
| 47 | Search in Rotated Sorted Array Leetcode Solution | 9334 |
| 48 | Number of Islands LeetCode Solution | 9226 |
| 49 | Kth Missing Positive Number Leetcode Solution | 9208 |
| 50 | Maximum Profit in Job Scheduling Leetcode Solution | 9203 |
| 51 | Next Greater Element I Leetcode Solution | 9123 |
| 52 | Longest Common Prefix Leetcode Solution | 9078 |
| 53 | Frog Jump Leetcode Solution | 8931 |
| 54 | Valid Anagram Leetcode Solution | 8881 |
| 55 | Running Sum of 1d Array Leetcode Solution | 8798 |
| 56 | Find Minimum Distance Between Two Numbers in an Array | 8776 |
| 57 | Shuffle the Array Leetcode Solution | 8764 |
| 58 | Rotate Image LeetCode Solution | 8705 |
| 59 | Combination Sum Leetcode Solution | 8673 |
| 60 | Multiply Strings Leetcode Solution | 8664 |
| 61 | Can Place Flowers LeetCode Solution | 8654 |
| 62 | Boolean Parenthesization Problem | 8599 |
| 63 | House Robber II Leetcode Solution | 8588 |
| 64 | Count and Say Leetcode Solution | 8571 |
| 65 | 3Sum Closest LeetCode Solution | 8503 |
| 66 | Bulb Switcher LeetCode Solution | 8452 |
| 67 | Koko Eating Bananas Leetcode Solution | 8373 |
| 68 | Best Time to Buy and Sell Stock LeetCode Solution | 8343 |
| 69 | Subarray and Subsequence | 8275 |
| 70 | Excel Sheet Column Title Leetcode Solution | 8263 |
| 71 | Happy Number Leetcode Solution | 8257 |
| 72 | Isomorphic Strings Leetcode Solution | 8212 |
| 73 | Majority Element Leetcode Solution | 8191 |
| 74 | Candy LeetCode Solution | 8183 |
| 75 | Missing Number Leetcode Solution | 8149 |
| 76 | Count Pairs With Given Sum | 8125 |
| 77 | Integer to Roman Leetcode Solution | 8123 |
| 78 | Product of array except self | 8024 |
| 79 | A Product Array Puzzle | 8019 |
| 80 | Rotate String LeetCode Solution | 7992 |
| 81 | Strobogrammatic Number LeetCode Solution | 7973 |
| 82 | Binary Search LeetCode Solution | 7908 |
| 83 | Reverse String Without Temporary Variable | 7866 |
| 84 | Is Subsequence Leetcode Solution | 7859 |
| 85 | Find the Difference Leetcode Solution | 7832 |
| 86 | Find the Duplicate Number LeetCode Solution | 7829 |
| 87 | Expression Evaluation | 7799 |
| 88 | Largest Number Leetcode Solution | 7794 |
| 89 | Find Common Characters Leetcode Solution | 7775 |
| 90 | Subtract the Product and Sum of Digits of an Integer Leetcode Solution | 7654 |
| 91 | String to Integer (atoi) LeetCode Solution | 7626 |
| 92 | Subset Leetcode | 7615 |
| 93 | Rabin Karp Algorithm | 7589 |
| 94 | How Many Numbers Are Smaller Than the Current Number Leetcode Solution | 7573 |
| 95 | Summary Ranges Leetcode Solution | 7516 |
| 96 | Set Matrix Zeroes | 7493 |
| 97 | Balanced Binary Tree Leetcode Solution | 7451 |
| 98 | Word Pattern LeetCode Solution | 7418 |
| 99 | Sort Characters By Frequency LeetCode Solution | 7399 |
| 100 | Find the Town Judge Leetcode Solution | 7392 |
| 101 | Find the Winner of the Circular Game LeetCode Solution | 7358 |
| 102 | Unique Paths Leetcode Solution | 7336 |
| 103 | Arranging Coins Leetcode Solution | 7331 |
| 104 | Rearrange Positive and Negative Numbers Alternatively in Array | 7295 |
| 105 | Group Anagrams LeetCode Solution | 7258 |
| 106 | Postfix to Infix Conversion | 7256 |
| 107 | String Compression LeetCode Solution | 7182 |
| 108 | Asteroid Collision LeetCode Solution | 7151 |
| 109 | Page Replacement Algorithms in Operating Systems | 7111 |
| 110 | Repeated Substring Pattern LeetCode Solution | 7071 |
| 111 | Smallest window in a string containing all characters of another string | 7045 |
| 112 | Sort Colors LeetCode Solution | 6996 |
| 113 | Best Time to Buy and Sell Stock II Leetcode Solution | 6992 |
| 114 | Matrix Chain Multiplication using Dynamic Programming | 6992 |
| 115 | Sum of minimum and maximum elements of all subarrays of size k | 6857 |
| 116 | Sort Array By Parity LeetCode Solution | 6855 |
| 117 | Zigzag Conversion LeetCode Solution | 6832 |
| 118 | Kth largest element in an Array Leetcode Solutions | 6821 |
| 119 | Valid Palindrome II Leetcode Solution | 6813 |
| 120 | Divide Two Integers Leetcode Solution | 6775 |
| 121 | Generate Parentheses Leetcode Solution | 6771 |
| 122 | Find the Row with Maximum Number of 1’s | 6740 |
| 123 | Assign Cookies Leetcode Solution | 6735 |
| 124 | Decode String Leetcode Solution | 6721 |
| 125 | Pascal Triangle Leetcode | 6719 |
| 126 | Product of Array Except Self LeetCode Solution | 6654 |
| 127 | Reverse Integer Leetcode Solution | 6642 |
| 128 | Remove Duplicates from Sorted Array II Leetcode Solution | 6641 |
| 129 | H-Index Leetcode Solution | 6628 |
| 130 | Length of Last Word Leetcode Solution | 6624 |
| 131 | Bus Routes Leetcode Solution | 6570 |
| 132 | Number of Provinces Leetcode Solution | 6545 |
| 133 | Prefix to Infix Conversion | 6527 |
| 134 | Merge Two Sorted Lists Leetcode Solutions | 6525 |
| 135 | Linked List Cycle II LeetCode Solution | 6480 |
| 136 | Minimum Steps to reach target by a Knight | 6456 |
| 137 | Convert array into Zig-Zag fashion | 6455 |
| 138 | Minimum Cost For Tickets Leetcode Solution | 6435 |
| 139 | Employee Free Time LeetCode Solution | 6434 |
| 140 | Optimal Account Balancing LeetCode Solution | 6428 |
| 141 | Defanging an IP Address Leetcode Solution | 6409 |
| 142 | Pascal’s Triangle II Leetcode Solution | 6369 |
| 143 | Find First and Last Position of Element in Sorted Array Leetcode Solution | 6341 |
| 144 | Island Perimeter Leetcode Solution | 6318 |
| 145 | Bellman Ford Algorithm | 6288 |
| 146 | Implementation of Deque using Doubly Linked List | 6284 |
| 147 | OSI Model | 6257 |
| 148 | First element occurring k times in an array | 6243 |
| 149 | Merge Sorted Array LeetCode Solution | 6239 |
| 150 | Increasing Triplet Subsequence LeetCode Solution | 6235 |
| 151 | Majority Element II Leetcode Solution | 6210 |
| 152 | Build Array From Permutation Leetcode Solution | 6203 |
| 153 | KMP Algorithm | 6195 |
| 154 | Robot Room Cleaner Leetcode Solution | 6188 |
| 155 | Max Consecutive Ones Leetcode Solution | 6154 |
| 156 | Guess Number Higher or Lower LeetCode Solution | 6142 |
| 157 | Find Pair with Given Difference | 6115 |
| 158 | Check if the Elements of an Array are Consecutive | 6112 |
| 159 | K-th Smallest Element in a Sorted Matrix | 6097 |
| 160 | Swap Nodes in Pairs Leetcode Solutions | 6087 |
| 161 | Add Two Numbers II Leetcode Solution | 6062 |
| 162 | Find the Missing Number | 6058 |
| 163 | Set Matrix Zeroes Leetcode Solution | 6057 |
| 164 | Lemonade Change Leetcode Solution | 6042 |
| 165 | Trapping Rain Water Leetcode Solution | 5992 |
| 166 | First negative integer in every window of size k | 5991 |
| 167 | Design Parking System Leetcode Solution | 5982 |
| 168 | Fibonacci Number LeetCode Solution | 5973 |
| 169 | Subarray Sum Equals K LeetCode Solution | 5950 |
| 170 | Delete middle element of a stack | 5935 |
| 171 | Word Ladder LeetCode Solution | 5903 |
| 172 | First Unique Character in a String LeetCode Solution | 5902 |
| 173 | Last Stone Weight | 5896 |
| 174 | Coin Change 2 Leetcode Solution | 5891 |
| 175 | Subarray with Given Sum | 5880 |
| 176 | Length of the largest subarray with contiguous elements | 5871 |
| 177 | Monotonic Array LeetCode Solution | 5869 |
| 178 | String Compression | 5864 |
| 179 | Capacity To Ship Packages Within D Days Leetcode Solution | 5861 |
| 180 | Find All Duplicates in an Array LeetCode Solution | 5859 |
| 181 | Subarray Product Less Than K LeetCode Solution | 5842 |
| 182 | Form Minimum Number from Given Sequence of D’s and I’s | 5831 |
| 183 | Repeated Substring Pattern | 5823 |
| 184 | Palindrome Linked List Leetcode Solution | 5807 |
| 185 | Single Element in a Sorted Array LeetCode Solution | 5804 |
| 186 | Find Smallest Missing Number in a Sorted Array | 5775 |
| 187 | Leetcode Permutations | 5719 |
| 188 | Continuous Subarray Sum LeetCode Solution | 5705 |
| 189 | 01 Matrix LeetCode Solution | 5685 |
| 190 | Remove Duplicates from Sorted List II LeetCode Solution | 5684 |
| 191 | Combinations Leetcode Solution | 5671 |
| 192 | Prefix to Postfix Conversion | 5669 |
| 193 | Combination Sum | 5626 |
| 194 | Break a Palindrome LeetCode Solution | 5610 |
| 195 | Reverse Words in a String III LeetCode Solution | 5610 |
| 196 | Valid Perfect Square Leetcode Solution | 5598 |
| 197 | Iterative Implementation of Quick Sort | 5597 |
| 198 | Remove Linked List Elements Leetcode Solution | 5594 |
| 199 | Same Tree LeetCode Solution | 5585 |
| 200 | Insert Delete GetRandom O(1) Leetcode Solution | 5557 |
| 201 | Merge k Sorted Lists Leetcode Solution | 5536 |
| 202 | Rotate List Leetcode Solution | 5535 |
| 203 | Container With Most Water LeetCode Solution | 5528 |
| 204 | Contains Duplicate LeetCode Solution | 5526 |
| 205 | Relative Ranks Leetcode Solution | 5523 |
| 206 | Top K Frequent Elements LeetCode Solution | 5511 |
| 207 | Slowest Key Leetcode Solution | 5508 |
| 208 | Backspace String Compare | 5479 |
| 209 | Find Peak Element LeetCode Solution | 5468 |
| 210 | Cuckoo sequence program | 5459 |
| 211 | Maximum Product of Three Numbers LeetCode Solution | 5443 |
| 212 | Subarray Sum Equals k | 5390 |
| 213 | Palindrome Number | 5386 |
| 214 | Find the Duplicate Element | 5373 |
| 215 | Printing brackets in Matrix Chain Multiplication Problem | 5366 |
| 216 | Kth Largest Element in a Stream Leetcode Solution | 5361 |
| 217 | The K Weakest Rows in a Matrix Leetcode Solution | 5355 |
| 218 | Longest Common Subsequence LeetCode Solution | 5340 |
| 219 | Max Area of Island | 5299 |
| 220 | Second Most Repeated Word in a Sequence | 5287 |
| 221 | Find Leaders in an Array | 5287 |
| 222 | Remove All Occurrences of a Substring LeetCode Solution | 5274 |
| 223 | Rearrange given Array in Maximum Minimum Form | 5269 |
| 224 | Generate all Binary Strings Without Consecutive 1’s | 5266 |
| 225 | Relative Sort Array Leetcode Solution | 5256 |
| 226 | Unique Paths II Leetcode Solution | 5253 |
| 227 | Scramble String | 5252 |
| 228 | Check If Two String Arrays are Equivalent Leetcode Solution | 5250 |
| 229 | Convert a Number to Hexadecimal Leetcode Solution | 5237 |
| 230 | Permutation in String Leetcode Solution | 5231 |
| 231 | Arithmetic Expression Evaluation | 5228 |
| 232 | Make The String Great Leetcode Solution | 5221 |
| 233 | Target Sum | 5221 |
| 234 | Find Triplet in Array With a Given Sum | 5212 |
| 235 | Delete Node in a Linked List Leetcode Solution | 5195 |
| 236 | Letter Combinations of a Phone Number | 5185 |
| 237 | Count Good Nodes in Binary Tree Leetcode Solution | 5175 |
| 238 | N-Queens LeetCode Solution | 5167 |
| 239 | Time Based Key-Value Store LeetCode Solution | 5162 |
| 240 | Moving Average from Data Stream Leetcode Solution | 5157 |
| 241 | Construct Binary Tree from Given Inorder and Preorder Traversals | 5148 |
| 242 | Stone Game LeetCode | 5139 |
| 243 | Next Permutation | 5117 |
| 244 | LRU Cache LeetCode Solution | 5104 |
| 245 | Prim’s Algorithm | 5101 |
| 246 | Number of Dice Rolls With Target Sum LeetCode Solution | 5090 |
| 247 | Find N Unique Integers Sum up to Zero Leetcode Solution | 5088 |
| 248 | Minimum Operations to convert X to Y | 5088 |
| 249 | Check If N and Its Double Exist Leetcode Solution | 5063 |
| 250 | Remove Minimum Characters so that Two Strings Become Anagrams | 5032 |
| 251 | Min Stack | 5031 |
| 252 | Number of Steps to Reduce a Number to Zero Leetcode Solution | 5024 |
| 253 | Given two unsorted arrays find all pairs whose sum is x | 5022 |
| 254 | Flipping an Image LeetCode Solution | 4983 |
| 255 | Find The Duplicate Number | 4967 |
| 256 | Minimum Knight Moves LeetCode Solution | 4960 |
| 257 | Minimum swaps required to bring all elements less than or equal to k together | 4956 |
| 258 | Top K Frequent Elements | 4952 |
| 259 | Stock Buy Sell to Maximize Profit | 4946 |
| 260 | Min Cost Climbing Stairs LeetCode Solution | 4938 |
| 261 | Reverse Only Letters LeetCode Solution | 4920 |
| 262 | Student Attendance Record I Leetcode Solution | 4918 |
| 263 | Smallest Positive Number Missing in an Unsorted Array | 4911 |
| 264 | To Lower Case Leetcode Solution | 4880 |
| 265 | Maximum Sum Increasing Subsequence | 4876 |
| 266 | Single Number | 4867 |
| 267 | License Key Formatting Leetcode Solution | 4866 |
| 268 | Reverse words in a string | 4849 |
| 269 | The kth Factor of n Leetcode Solution | 4844 |
| 270 | Maximum Subarray Sum using Divide and Conquer | 4843 |
| 271 | Maximum Population Year LeetCode Solution | 4785 |
| 272 | Top K Frequent Words LeetCode Solution | 4750 |
| 273 | Sudoku Solver | 4748 |
| 274 | Longest Common Subsequence | 4746 |
| 275 | Find the Number Occurring Odd Number of Times in an Array | 4726 |
| 276 | BFS for Disconnected Graph | 4717 |
| 277 | Remove Nth Node From End of List Leetcode Solution | 4708 |
| 278 | Find Words That Can Be Formed by Characters Leetcode Solution | 4700 |
| 279 | Search Suggestions System LeetCode Solution | 4696 |
| 280 | Minimum Path Sum Leetcode Solution | 4695 |
| 281 | Reformat Date LeetCode Solution | 4688 |
| 282 | Special Array With X Elements Greater Than or Equal X Leetcode Solution | 4687 |
| 283 | Pairs of Songs With Total Durations Divisible by 60 LeetCode Solution | 4665 |
| 284 | Reveal Cards In Increasing Order Leetcode Solution | 4652 |
| 285 | Maximum Depth of Binary Tree Leetcode Solution | 4645 |
| 286 | Sum of Subarray Ranges Leetcode Solution | 4634 |
| 287 | Intersection of Two Arrays | 4631 |
| 288 | Sort Elements by Frequency of Occurrences | 4626 |
| 289 | Maximum Size Subarray Sum Equals k Leetcode Solution | 4624 |
| 290 | Reverse Nodes in k-Group LeetCode Solution | 4614 |
| 291 | Best Time to Buy and Sell Stock III Leetcode Solution | 4611 |
| 292 | N-th Tribonacci Number Leetcode Solution | 4604 |
| 293 | House Robber | 4598 |
| 294 | Find any one of the multiple repeating elements in read only array | 4590 |
| 295 | Remove All Ones With Row and Column Flips Leetcode Solution | 4577 |
| 296 | Diagonal Traverse LeetCode Solution | 4576 |
| 297 | Evaluate Division | 4575 |
| 298 | Maximize Distance to Closest Person LeetCode Solution | 4569 |
| 299 | Most Frequent Element in an Array | 4561 |
| 300 | Find Index of Closing Bracket for a Given Opening Bracket in an Expression | 4550 |
| 301 | Range Sum Query 2D – Immutable Leetcode Solution | 4549 |
| 302 | Design A Leaderboard Leetcode Solution | 4548 |
| 303 | Binary Tree Inorder Traversal LeetCode Solution | 4545 |
| 304 | Reverse individual words | 4542 |
| 305 | Minimum Characters to be Added at Front to Make String Palindrome | 4539 |
| 306 | Length of Longest valid Substring | 4538 |
| 307 | Count of index pairs with equal elements in an array | 4533 |
| 308 | Find if Path Exists in Graph Leetcode Solution | 4524 |
| 309 | Last Stone Weight II LeetCode Solution | 4510 |
| 310 | Count Number of Occurrences in a Sorted Array | 4504 |
| 311 | Minimum number of Merge Operations to make an Array Palindrome | 4490 |
| 312 | Remove Duplicates from Sorted List LeetCode Solution | 4486 |
| 313 | Split Linked List in Parts Leetcode Solution | 4481 |
| 314 | Partition Array Into Three Parts With Equal Sum Leetcode Solution | 4473 |
| 315 | Implement a stack using single queue | 4472 |
| 316 | Dijkstra Algorithm | 4457 |
| 317 | Find the Closest Palindrome number | 4439 |
| 318 | Brightest Position on Street LeetCode Solution | 4437 |
| 319 | Mobile Numeric Keypad Problem | 4403 |
| 320 | Arrange given Numbers to Form the Biggest Number II | 4403 |
| 321 | Find Leaves of Binary Tree LeetCode Solution | 4401 |
| 322 | Reverse Bits | 4395 |
| 323 | Special Positions in a Binary Matrix Leetcode Solution | 4382 |
| 324 | Spiral Matrix II Leetcode Solution | 4371 |
| 325 | Round Robin Scheduling | 4368 |
| 326 | Symmetric Tree Leetcode Solution | 4367 |
| 327 | Invalid Transactions LeetCode Solution | 4358 |
| 328 | Shortest Word Distance Leetcode Solution | 4346 |
| 329 | Maximum Subarray | 4342 |
| 330 | Paint House LeetCode Solution | 4335 |
| 331 | Recursion | 4330 |
| 332 | Maximal Square | 4299 |
| 333 | One Edit Distance LeetCode Solution | 4291 |
| 334 | Sort Array By Parity II Leetcode Solution | 4289 |
| 335 | Diagonal Traversal LeetCode Solution | 4282 |
| 336 | Hamming Distance Leetcode Solution | 4282 |
| 337 | Rank Transform of an Array Leetcode Solution | 4281 |
| 338 | Find Duplicates in an Array in Most Efficient Way | 4281 |
| 339 | Partition Labels LeetCode Solution | 4268 |
| 340 | Find Winner on a Tic Tac Toe Game Leetcode Solution | 4267 |
| 341 | Remove Invalid Parentheses Leetcode Solution | 4250 |
| 342 | Minimum Moves to Equal Array Elements Leetcode Solution | 4250 |
| 343 | Jump Game | 4247 |
| 344 | Tug of War | 4245 |
| 345 | Largest Rectangle in Histogram LeetCode Solution | 4244 |
| 346 | Alien Dictionary LeetCode Solution | 4243 |
| 347 | Count of Triplets With Sum Less than Given Value | 4242 |
| 348 | Unique Paths | 4237 |
| 349 | String Matching in an Array Leetcode Solution | 4234 |
| 350 | Binary Tree Zigzag Level Order Traversal LeetCode Solution | 4225 |
| 351 | Postfix to Prefix Conversion | 4212 |
| 352 | Minimum Time to Collect All Apples in a Tree LeetCode Solution | 4205 |
| 353 | Unique Paths III LeetCode Solution | 4194 |
| 354 | The Celebrity Problem | 4192 |
| 355 | Next Permutation LeetCode Solution | 4191 |
| 356 | Given an Array of Pairs Find all Symmetric Pairs in it | 4184 |
| 357 | Validate Stack Sequences LeetCode Solution | 4179 |
| 358 | Merge Two Sorted Linked Lists | 4176 |
| 359 | Bitwise AND of Numbers Range LeetCode Solution | 4173 |
| 360 | Lowest Common Ancestor of a Binary Tree Leetcode Solution | 4163 |
| 361 | Minimum Depth of Binary Tree Leetcode Solution | 4160 |
| 362 | Construct BST from its given Level Order Traversal | 4160 |
| 363 | Minimum Time Visiting All Points Leetcode Solution | 4157 |
| 364 | Range Sum of BST LeetCode Solution | 4155 |
| 365 | Transpose Graph | 4155 |
| 366 | Least Number of Unique Integers after K Removals Leetcode Solution | 4152 |
| 367 | Smallest Subarray with k Distinct Numbers | 4145 |
| 368 | Minimum operation to make all elements equal in array | 4144 |
| 369 | Invert Binary Tree LeetCode Solution | 4143 |
| 370 | Maximum Circular Subarray Sum | 4137 |
| 371 | Toeplitz Matrix | 4128 |
| 372 | Maximum Length of a Concatenated String with Unique Characters Leetcode Solution | 4124 |
| 373 | Longest Common Prefix using Trie | 4123 |
| 374 | Clone Graph LeetCode Solution | 4118 |
| 375 | Pair of Positive Negative Values in an Array | 4118 |
| 376 | Minimum Number of Steps to Make Two Strings Anagram Leetcode Solutions | 4101 |
| 377 | Find minimum difference between any two elements | 4100 |
| 378 | Kruskal Algorithm | 4093 |
| 379 | Robot Bounded In Circle LeetCode Solution | 4089 |
| 380 | Ugly Number II LeetCode Solution | 4089 |
| 381 | Next Greater Element III LeetCode Solution | 4086 |
| 382 | Check whether Strings are K Distance Apart or Not | 4086 |
| 383 | 3 Sum | 4085 |
| 384 | K Empty Slots LeetCode | 4085 |
| 385 | 4Sum | 4084 |
| 386 | Find the First and Second Smallest Elements | 4078 |
| 387 | Longest Substring with At Most K Distinct Characters LeetCode Solution | 4068 |
| 388 | Check if a given array contains duplicate elements within k distance from each other | 4058 |
| 389 | Minimum Cost to Hire K Workers | 4052 |
| 390 | Max stack | 4049 |
| 391 | Substring with Concatenation of All Words Leetcode Solution | 4047 |
| 392 | LRU Cache Implementation | 4044 |
| 393 | Implementation of Deque using circular array | 4035 |
| 394 | Longest subarray not having more than K distinct elements | 4030 |
| 395 | Word Search | 4029 |
| 396 | Graph Valid Tree LeetCode Solution | 4024 |
| 397 | Sort a stack using a temporary stack | 4013 |
| 398 | Invert Binary Tree LeetCode Solution | 4004 |
| 399 | Minimize Maximum Pair Sum in Array LeetCode Solution | 4004 |
| 400 | Regular Expression Matching Regular Expression Matching LeetCode Solution | 4003 |
| 401 | Sliding Window Technique | 4003 |
| 402 | Stack Permutations (Check if an array is stack permutation of other) | 3992 |
| 403 | Permutation Sequence LeetCode Solution | 3987 |
| 404 | Stone Game II Leetcode | 3987 |
| 405 | Longest subsequence such that difference between adjacents is one | 3985 |
| 406 | Find the Smallest Divisor given a Threshold Leetcode Solution | 3984 |
| 407 | Best Time to Buy and Sell Stock with Cooldown Leetcode Solution | 3979 |
| 408 | Non-decreasing Array LeetCode Solution | 3977 |
| 409 | Convert Sorted Array to Binary Search Tree LeetCode Solutions | 3976 |
| 410 | Design Browser History LeetCode Solution | 3969 |
| 411 | Find duplicates in a given array when elements are not limited to a range | 3968 |
| 412 | Find the subarray with least average | 3967 |
| 413 | Priority Queue using doubly linked list | 3966 |
| 414 | Number Complement Leetcode Solution | 3965 |
| 415 | Top View of Binary Tree | 3962 |
| 416 | Kth Smallest Element in a BST Leetcode Solution | 3961 |
| 417 | Missing Element in Sorted Array LeetCode Solution | 3954 |
| 418 | Minesweeper LeetCode Solution | 3953 |
| 419 | Queries for counts of array elements with values in given range | 3944 |
| 420 | Number of Islands II LeetCode Solution | 3942 |
| 421 | LRU Cache Leetcode Solution | 3941 |
| 422 | Painting Fence Algorithm | 3939 |
| 423 | K Closest Points to Origin Leetcode Solution | 3934 |
| 424 | Maximum Number of Occurrences of a Substring Leetcode Solution | 3934 |
| 425 | Nth Catalan Number | 3927 |
| 426 | Common elements in all rows of a given matrix | 3922 |
| 427 | Partition List Leetcode Solution | 3916 |
| 428 | Path With Maximum Minimum Value LeetCode Solution | 3910 |
| 429 | Find the Peak Element from an Array | 3907 |
| 430 | First Circular Tour to Visit all the Petrol Bunks | 3902 |
| 431 | Fibonacci Number LeetCode Solution | 3900 |
| 432 | Snakes and Ladders LeetCode Solution | 3897 |
| 433 | Maximum Consecutive Numbers Present in an Array | 3890 |
| 434 | Can Make Arithmetic Progression From Sequence Leetcode Solution | 3888 |
| 435 | Number of Smaller Elements on Right Side | 3885 |
| 436 | Find Top K (or Most Frequent) Numbers in a Stream | 3882 |
| 437 | Sequences of given length where every element is more than or equal to twice of previous | 3881 |
| 438 | Sliding Window Maximum LeetCode Solution | 3878 |
| 439 | Sort elements by frequency | 3870 |
| 440 | Find Maximum Level sum in Binary Tree | 3867 |
| 441 | Combination Sum IV LeetCode Solution | 3866 |
| 442 | Gold Mine Problem | 3859 |
| 443 | Tiling Problem | 3858 |
| 444 | Integer Break LeetCode Solution | 3856 |
| 445 | Flood Fill LeetCode | 3856 |
| 446 | High Five LeetCode Solution | 3849 |
| 447 | Insert Interval Leetcode Solution | 3845 |
| 448 | Odd Even Linked List Leetcode Solution | 3843 |
| 449 | Search a 2D Matrix II Leetcode Solution | 3840 |
| 450 | Check if Two given Strings are Isomorphic to each other | 3838 |
| 451 | Count items common to both the lists but with different prices | 3836 |
| 452 | Find Minimum in Rotated Sorted Array II LeetCode Solution | 3832 |
| 453 | Move All the Zeros to the End of the Given Array | 3831 |
| 454 | N queen problem | 3824 |
| 455 | Rearrange array such that even positioned are greater than odd | 3823 |
| 456 | Distance of nearest cell having 1 in a binary matrix | 3821 |
| 457 | Shortest Palindrome | 3821 |
| 458 | Longest Palindrome can be Formed by Removing or Rearranging Characters | 3814 |
| 459 | Interval Tree | 3795 |
| 460 | Insert into a Binary Search Tree Leetcode Solution | 3793 |
| 461 | Consecutive Characters LeetCode Solution | 3792 |
| 462 | Replace Elements with Greatest Element on Right Side Leetcode Solution | 3790 |
| 463 | Trapping Rain Water LeetCode Solution | 3785 |
| 464 | Search in a Binary Search Tree Leetcode Solution | 3784 |
| 465 | Sort Colors | 3779 |
| 466 | Number of Closed Islands Leetcode Solution | 3770 |
| 467 | Design a stack that supports getMin() in O(1) time and O(1) extra space | 3766 |
| 468 | Kth Non-repeating Character | 3765 |
| 469 | Fibonacci numbers | 3763 |
| 470 | Longest Common Prefix using Sorting | 3755 |
| 471 | Find a Peak Element II LeetCode Solution | 3754 |
| 472 | Reverse a linked list | 3751 |
| 473 | Integer to English words | 3745 |
| 474 | Spiral Matrix III LeetCode Solution | 3742 |
| 475 | Find All Possible Recipes from Given Supplies LeetCode Solution | 3739 |
| 476 | Minimum Absolute Difference in BST Leetcode Solution | 3739 |
| 477 | Queries for GCD of all numbers of an array except elements in a given range | 3733 |
| 478 | Evaluate Reverse Polish Notation LeetCode Solution | 3731 |
| 479 | Decompress Run-Length Encoded List Leetcode Solution | 3730 |
| 480 | Expression Contains Redundant Bracket or Not | 3730 |
| 481 | Sliding Window Median Leetcode Solution | 3722 |
| 482 | Check If Array Pairs Are Divisible by k LeetCode Solution | 3722 |
| 483 | Vertical Order Traversal of Binary Tree LeetCode Solution | 3713 |
| 484 | Convert Sorted Array to Binary Search Tree Leetcode Solution | 3710 |
| 485 | Find Pythagorean Triplets from Array | 3707 |
| 486 | Coin Change Problem | 3706 |
| 487 | Restore IP Addresses Leetcode Solution | 3705 |
| 488 | Sorting array using Stacks | 3700 |
| 489 | Binary Tree Maximum Path Sum LeetCode Solution | 3698 |
| 490 | Palindrome Substring Queries | 3696 |
| 491 | Minimum Path Sum | 3695 |
| 492 | Morris Traversal | 3674 |
| 493 | Sort an array according to the order defined by another array | 3671 |
| 494 | Balanced Expression with Replacement | 3671 |
| 495 | Multiplication of Two Matrices | 3669 |
| 496 | Majority Element | 3667 |
| 497 | Priority Queue in C++ | 3662 |
| 498 | Rearrange an array in order – smallest, largest, 2nd smallest, 2nd largest | 3658 |
| 499 | Subset sum problem | 3652 |
| 500 | Camelcase Matching Leetcode Solution | 3646 |
| 501 | Best Time to Buy and Sell Stock | 3645 |
| 502 | Find the first Repeating Number in a Given Array | 3636 |
| 503 | Queue using Stacks | 3628 |
| 504 | Number of Days Between Two Dates LeetCode Solution | 3627 |
| 505 | Find Median from Data Stream LeetCode Solution | 3622 |
| 506 | Minimum Number of Taps to Open to Water a Garden LeetCode Solution | 3620 |
| 507 | Cells with Odd Values in a Matrix LeetCode Solution | 3615 |
| 508 | Path Crossing Leetcode Solution | 3607 |
| 509 | How to Implement Stack Using Priority Queue or Heap? | 3607 |
| 510 | Design Hit Counter LeetCode Solution | 3600 |
| 511 | Generate all Binary Strings from Given Pattern | 3599 |
| 512 | The Stock Span Problem | 3594 |
| 513 | Kth ancestor of a node in binary tree | 3586 |
| 514 | Count subarrays having total distinct elements same as original array | 3583 |
| 515 | Is Graph Bipartite? LeetCode Solution | 3582 |
| 516 | Sieve of Eratosthenes | 3580 |
| 517 | Detect a loop in the Linked List | 3579 |
| 518 | Path Sum II LeetCode Solution | 3578 |
| 519 | Intersection of Two Linked Lists LeetCode Solution | 3571 |
| 520 | Analyze User Website Visit Pattern LeetCode Solution | 3570 |
| 521 | Longest Increasing Path in a Matrix LeetCode Solution | 3569 |
| 522 | Shortest Completing Word Leetcode Solution | 3567 |
| 523 | Find a Fixed Point in a Given Array | 3566 |
| 524 | Pancake Sorting Problem | 3564 |
| 525 | Divide Chocolate LeetCode Solution | 3559 |
| 526 | Count Submatrices With All Ones LeetCode Solution | 3555 |
| 527 | Letter Case Permutation | 3555 |
| 528 | Monotonic Array Leetcode Solution | 3550 |
| 529 | Largest rectangular sub-matrix whose sum is 0 | 3543 |
| 530 | Check if Array Contains Contiguous Integers With Duplicates Allowed | 3539 |
| 531 | Custom Sort String Leetcode Solution | 3538 |
| 532 | Construction of Longest Increasing Subsequence (N log N) | 3535 |
| 533 | Group Anagrams | 3533 |
| 534 | Minimum Height Trees | 3528 |
| 535 | Implement strStr() LeetCode Solution | 3525 |
| 536 | Maximum Element in an Array which is Increasing and then Decreasing | 3522 |
| 537 | Best Time to Buy and Sell Stock with Transaction Fee Leetcode Solution | 3520 |
| 538 | Decode Ways | 3519 |
| 539 | Different Ways to Add Parentheses Leetcode Solution | 3514 |
| 540 | Determine Whether Matrix Can Be Obtained By Rotation LeetCode Solution | 3508 |
| 541 | Merge Overlapping Intervals | 3507 |
| 542 | Valid Boomerang Leetcode Solution | 3504 |
| 543 | Find maximum length Snake sequence | 3496 |
| 544 | Queue based approach for first non-repeating character in a stream | 3490 |
| 545 | Nearest Exit from Entrance in Maze LeetCode Solution | 3483 |
| 546 | Number of Distinct Islands Leetcode Solution | 3475 |
| 547 | Scramble String LeetCode Solution | 3474 |
| 548 | How to Create Mergable Stack? | 3472 |
| 549 | Perfect Squares LeetCode Solution | 3470 |
| 550 | Find the Lost Element From a Duplicated Array | 3469 |
| 551 | Best Time to Buy and Sell Stock IV LeetCode Solution | 3468 |
| 552 | Shifting Letters LeetCode Solution | 3467 |
| 553 | Decode String | 3467 |
| 554 | Implement Trie (Prefix Tree) Leetcode Solution | 3461 |
| 555 | LCS (Longest Common Subsequence) of three strings | 3454 |
| 556 | Guess Number Higher or Lower II | 3445 |
| 557 | First missing positive | 3444 |
| 558 | Sliding Window Maximum | 3443 |
| 559 | Longest Common Prefix using Divide and Conquer | 3443 |
| 560 | Design Skiplist LeetCode Solution | 3441 |
| 561 | Most Stones Removed with Same Row or Column LeetCode Solution | 3440 |
| 562 | Reorder Data in Log Files LeetCode Solution | 3440 |
| 563 | Number of Equivalent Domino Pairs Leetcode Solution | 3440 |
| 564 | Maximum Sum of Non Consecutive Elements | 3439 |
| 565 | Sort a stack using recursion | 3437 |
| 566 | Champagne Tower LeetCode Solution | 3432 |
| 567 | Count Possible Triangles | 3429 |
| 568 | Find if an Expression has Duplicate Parenthesis or Not | 3427 |
| 569 | Recover Binary Search Tree | 3424 |
| 570 | Build an Array With Stack Operations Leetcode Solution | 3422 |
| 571 | Race Car LeetCode Solution | 3421 |
| 572 | Binary Tree zigzag level order Traversal | 3421 |
| 573 | All Possible Full Binary Trees LeetCode Solution | 3415 |
| 574 | Contiguous Array LeetCode Solution | 3415 |
| 575 | Rectangle Overlap LeetCode Solution | 3412 |
| 576 | Insert Node in the Sorted Linked List | 3411 |
| 577 | Largest Subarray with Equal Number of 0’s and 1’s | 3410 |
| 578 | Smallest Good Base | 3393 |
| 579 | Maximum Length of Chain Pairs | 3393 |
| 580 | Make Two Arrays Equal by Reversing Sub-arrays Leetcode Solution | 3387 |
| 581 | Minimum Bracket Reversals | 3383 |
| 582 | Find the two Numbers with Odd Occurrences in an Unsorted Array | 3374 |
| 583 | Palindrome Permutation LeetCode Solution | 3369 |
| 584 | Group Multiple Occurrence of Array Elements Ordered by first Occurrence | 3362 |
| 585 | Longest Substring with At Least K Repeating Characters LeetCode Solution | 3361 |
| 586 | Minimum Height Trees LeetCode Solution | 3357 |
| 587 | Maximum Depth of N-ary Tree Leetcode Solution | 3357 |
| 588 | Maximum Number of Ways to Partition an Array LeetCode Solution | 3356 |
| 589 | Longest Repeated Subsequence | 3355 |
| 590 | Rearrange Spaces Between Words Leetcode Solution | 3353 |
| 591 | Design a Stack With Increment Operation Leetcode Solution | 3350 |
| 592 | Distance Between Bus Stops Leetcode Solution | 3350 |
| 593 | Find a Sorted Subsequence of size 3 | 3350 |
| 594 | Recover Binary Search Tree Leetcode Solution | 3347 |
| 595 | Palindrome Partitioning Leetcode Solution | 3340 |
| 596 | Merge Two Binary Trees LeetCode Solution | 3340 |
| 597 | Find the Town Judge LeetCode Solution | 3339 |
| 598 | Implement Two Stacks in an Array | 3338 |
| 599 | Valid Parentheses Leetcode Solution | 3332 |
| 600 | K-th Distinct Element in an Array | 3332 |
| 601 | Subarrays with K Different Integers Leetcode Solution | 3331 |
| 602 | Reorder an Array According to the Given Indexes | 3331 |
| 603 | Lowest Common Ancestor of a Binary Search Tree Leetcode Solution | 3324 |
| 604 | Print all Palindromic Partitions of a String | 3323 |
| 605 | Heap Sort | 3321 |
| 606 | Check for Balanced Parentheses in an Expression | 3314 |
| 607 | Huffman Coding | 3308 |
| 608 | Maximum sum rectangle in a 2D matrix | 3299 |
| 609 | Find the First Circular Tour that visits all the Petrol Pumps | 3298 |
| 610 | Minimum number of jumps to reach end | 3295 |
| 611 | Maximum Score After Splitting a String Leetcode Solution | 3293 |
| 612 | Count pair with Given Sum | 3281 |
| 613 | Contains Duplicate | 3281 |
| 614 | The Maze III LeetCode Solution | 3279 |
| 615 | Jump Game IV LeetCode Solution | 3278 |
| 616 | Sort a String According to Another String | 3278 |
| 617 | Merge Overlapping Intervals II | 3278 |
| 618 | Mean of Array After Removing Some Elements Leetcode Solution | 3273 |
| 619 | Maximize Elements Using Another Array | 3272 |
| 620 | Perform String Shifts Leetcode | 3269 |
| 621 | Palindrome Permutation | 3257 |
| 622 | Find First and Last Position of Element in Sorted Array LeetCode Solution | 3249 |
| 623 | Word Break | 3246 |
| 624 | Valid Sudoku | 3239 |
| 625 | Palindrome Permutations of a String | 3235 |
| 626 | Find the Minimum Element in a Sorted and Rotated Array | 3235 |
| 627 | Convert BST to Min Heap | 3230 |
| 628 | All Unique Triplets that Sum up to a Given Value | 3222 |
| 629 | Find Largest Value in Each Tree Row LeetCode Solution | 3219 |
| 630 | Minimum Jumps to Reach Home LeetCode Solution | 3217 |
| 631 | Possible Bipartition LeetCode Solution | 3215 |
| 632 | A Space Optimized DP solution for 0-1 Knapsack Problem | 3215 |
| 633 | Caesar Cipher | 3215 |
| 634 | Iterative Method to find Height of Binary Tree | 3213 |
| 635 | Find all triplets with zero sum | 3212 |
| 636 | Edit Distance LeetCode Solution | 3206 |
| 637 | Count Sub Islands LeetCode Solution | 3200 |
| 638 | Find Median from data Stream | 3190 |
| 639 | Palindromic Substrings Leetcode Solution | 3183 |
| 640 | My Calendar I LeetCode Solution | 3183 |
| 641 | Segregate 0s and 1s in an Array | 3178 |
| 642 | Reach a Number LeetCode Solution | 3172 |
| 643 | Best Meeting Point LeetCode Solution | 3163 |
| 644 | Find the Subarray of given length with Least Average | 3161 |
| 645 | Maximum Product of Splitted Binary Tree LeetCode Solution | 3160 |
| 646 | Number of palindromic paths in a matrix | 3159 |
| 647 | Level order Traversal in Spiral Form | 3159 |
| 648 | Merge Two Balanced Binary Search Trees | 3147 |
| 649 | Count Good Nodes in Binary Tree LeetCode Solution | 3142 |
| 650 | Pair with given product | 3142 |
| 651 | Check if the given array can represent Level Order Traversal of Binary Search Tree | 3139 |
| 652 | Word Pattern | 3137 |
| 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 | 3135 |
| 654 | Alien Dictionary | 3133 |
| 655 | Breadth First Search (BFS) for a Graph | 3130 |
| 656 | Validate Binary Search Tree | 3118 |
| 657 | Partition Problem | 3116 |
| 658 | Isomorphic Strings LeetCode Solution | 3107 |
| 659 | Brick Wall LeetCode Solution | 3105 |
| 660 | Convert Sorted List to Binary Search Tree | 3100 |
| 661 | Sorted Linked List to Balanced BST | 3099 |
| 662 | Number of Subsequences That Satisfy the Given Sum Condition LeetCode solution | 3093 |
| 663 | Find whether a subarray is in form of a mountain or not | 3089 |
| 664 | Minimum time required to rot all oranges | 3086 |
| 665 | Add two numbers | 3085 |
| 666 | Swapping Nodes in a Linked List Leetcode Solution | 3082 |
| 667 | Maximize Sum of Array after K Negations Leetcode Solution | 3081 |
| 668 | Construct BST from given Preorder Traversal | 3081 |
| 669 | How to Efficiently Implement k Stacks in a Single Array? | 3078 |
| 670 | Sort 0s 1s and 2s in an Array | 3075 |
| 671 | Shortest Path in a Grid with Obstacles Elimination LeetCode Solution | 3074 |
| 672 | Rotate Array | 3070 |
| 673 | Populating Next Right Pointers in Each Node | 3068 |
| 674 | Largest Sum Contiguous Subarray | 3066 |
| 675 | Longest Subarray Having Count of 1s One More than Count of 0s | 3064 |
| 676 | Queries on Probability of Even or Odd Number in given Ranges | 3063 |
| 677 | Bubble sort using two Stacks | 3063 |
| 678 | Remove brackets from an algebraic string containing + and – operators | 3061 |
| 679 | Merge K Sorted Arrays and Print Sorted Output | 3061 |
| 680 | Print Fibonacci sequence using 2 variables | 3056 |
| 681 | Find all pairs (a, b) in an array such that a % b = k | 3050 |
| 682 | Range Sum Query 2D – Immutable LeetCode Solution | 3046 |
| 683 | Find Zeros to be Flipped so that Number of Consecutive 1’s is Maximized | 3044 |
| 684 | Find four elements that sum to a given value (Hashmap) | 3043 |
| 685 | Count ways to reach the nth stair using step 1, 2 or 3 | 3035 |
| 686 | Maximum Number of Chocolates to be Distributed Equally Among k Students | 3034 |
| 687 | Count Distinct Elements in Every Window of Size K | 3033 |
| 688 | Filter Restaurants by Vegan-Friendly, Price and Distance Leetcode Solution | 3026 |
| 689 | Merge Two Sorted Lists Leetcode | 3018 |
| 690 | Maximum Frequency Stack Leetcode Solution | 3016 |
| 691 | Detect Capital Leetcode Solution | 3007 |
| 692 | Minimum Swaps to Group All 1’s Together Leetcode Solution | 3004 |
| 693 | Difference Array | Range update query in O(1) | 2993 |
| 694 | Split Array Into Consecutive Subsequences | 2993 |
| 695 | Partition Equal Subset Sum | 2993 |
| 696 | Binary Tree Right Side View LeetCode Solution | 2990 |
| 697 | Counting Bits | 2988 |
| 698 | Remove duplicates from sorted array | 2985 |
| 699 | Contiguous Array Leetcode | 2985 |
| 700 | Remove Palindromic Subsequences Leetcode Solution | 2983 |
| 701 | Binary Tree to Binary Search Tree Conversion | 2980 |
| 702 | Partition to K Equal Sum Subsets Leetcode Solution | 2979 |
| 703 | Print all subarrays with 0 sum | 2975 |
| 704 | Check if a Linked list of Strings form a Palindrome | 2974 |
| 705 | Topological Sorting | 2973 |
| 706 | Happy Number | 2962 |
| 707 | Length of Longest Fibonacci Subsequence | 2961 |
| 708 | Minimum Sum Path in a Triangle | 2954 |
| 709 | Elements Appear more than N/K times in Array | 2953 |
| 710 | Find pairs with given sum such that elements of pair are in different rows | 2945 |
| 711 | Minimum Swaps to Make Strings Equal Leetcode Solution | 2944 |
| 712 | Concatenation of Array LeetCode Solution | 2939 |
| 713 | Populating Next Right Pointers in Each Node Leetcode Solution | 2939 |
| 714 | Arithmetic Slices II – Subsequence LeetCode Solution | 2936 |
| 715 | Minimum Number of Arrows to Burst Balloons LeetCode Solution | 2931 |
| 716 | Reverse Nodes in K-Group | 2927 |
| 717 | Find All Pairs With a Given Difference | 2925 |
| 718 | String comparison containing wildcards | 2924 |
| 719 | MiniMax Algorithm | 2923 |
| 720 | Inorder Successor of a node in Binary Tree | 2918 |
| 721 | Web Crawler LeetCode Solution | 2917 |
| 722 | An Interesting Method to generate Binary Numbers from 1 to n | 2915 |
| 723 | Queue Reconstruction by Height | 2914 |
| 724 | Increasing Subsequence of Length three with Maximum Product | 2890 |
| 725 | Score of Parenthesis LeetCode Solution | 2885 |
| 726 | Maximum Distance in Array | 2883 |
| 727 | Root to Leaf path with target sum Leetcode Solutions | 2882 |
| 728 | Swap Kth Node from beginning with Kth Node from End | 2881 |
| 729 | Given a binary tree, how do you remove all the half nodes? | 2879 |
| 730 | Longest Increasing Subsequence | 2875 |
| 731 | Finding K closest element | 2866 |
| 732 | Find Duplicate Subtrees | 2859 |
| 733 | Union and Intersection of two Linked Lists | 2858 |
| 734 | Longest Common Prefix Using Binary Search II | 2857 |
| 735 | Iterative Preorder Traversal | 2855 |
| 736 | Climbing stairs | 2855 |
| 737 | Delete Nth node from the end of the given linked list | 2854 |
| 738 | Check if String Follows Order of Characters by a Pattern or not | 2849 |
| 739 | BFS vs DFS for Binary Tree | 2839 |
| 740 | Pancake Sorting | 2839 |
| 741 | Find K Closest Elements LeetCode Solution | 2828 |
| 742 | Construct Binary Tree from given Parent Array representation | 2828 |
| 743 | Maximum Product Subarray II | 2825 |
| 744 | Find the first repeating element in an array of integers | 2824 |
| 745 | Container with Most Water | 2822 |
| 746 | Symmetric Tree | 2821 |
| 747 | Parallel Courses II LeetCode Solution | 2816 |
| 748 | Count Minimum Steps to Get the given Array | 2813 |
| 749 | Deletion in a Binary Tree | 2802 |
| 750 | Find the Difference Leetcode Solution | 2798 |
| 751 | Construct Binary Tree from Preorder and Postorder Traversal LeetCode Solution | 2796 |
| 752 | Delete Nodes and Return Forest Leetcode Solution | 2786 |
| 753 | Check if all levels of two Binary Tree are anagrams or not | 2786 |
| 754 | Nested List Weight Sum II LeetCode Solution | 2785 |
| 755 | Rearrange an Array Such that arr[i] is equal to i | 2781 |
| 756 | Level order traversal using two Queues | 2780 |
| 757 | Substring With Concatenation Of All Words | 2775 |
| 758 | Minimum Cost to Move Chips to The Same Position LeetCode Solution | 2773 |
| 759 | Find Maximum of Minimum for Every Window Size in a Given Array | 2772 |
| 760 | Tree Traversal (Preorder, Inorder & Postorder) | 2772 |
| 761 | Sum Root to Leaf Numbers LeetCode Solution | 2771 |
| 762 | Level of Each node in a Tree from source node | 2771 |
| 763 | Kill Process LeetCode Solution | 2766 |
| 764 | Minimum Size Subarray Sum | 2762 |
| 765 | Boundary Traversal of binary tree | 2761 |
| 766 | Super Ugly Number | 2761 |
| 767 | Sort Array by Increasing Frequency Leetcode Solution | 2759 |
| 768 | Count pairs from two linked lists whose sum is equal to a given value | 2759 |
| 769 | Linked List Cycle | 2753 |
| 770 | Minimum Remove to Make Valid Parentheses LeetCode Solution | 2750 |
| 771 | Non-overlapping sum of two sets | 2750 |
| 772 | Iterative Depth First Traversal of Graph | 2750 |
| 773 | Reorder Array Using Given Indexes | 2748 |
| 774 | Check if any two intervals overlap among a given set of intervals | 2744 |
| 775 | K maximum sums of overlapping contiguous sub-arrays | 2744 |
| 776 | Matrix Chain Multiplication | 2742 |
| 777 | New 21 Game | 2738 |
| 778 | Valid Anagrams | 2735 |
| 779 | Flatten Binary Tree to Linked List LeetCode Solution | 2734 |
| 780 | Merging Intervals | 2734 |
| 781 | Remove Duplicates from Sorted List II | 2731 |
| 782 | Maximum size subarray sum equals k | 2728 |
| 783 | Sum of f(a[i], a[j]) over all pairs in an array of n integers | 2727 |
| 784 | Longest Common Prefix Word by Word Matching | 2723 |
| 785 | Reservoir Sampling | 2722 |
| 786 | Merge K Sorted Linked Lists | 2715 |
| 787 | Palindrome Partitioning | 2712 |
| 788 | Range LCM Queries | 2711 |
| 789 | Sorting a K Sorted Array | 2700 |
| 790 | Print a Binary Tree in Vertical Order | 2699 |
| 791 | The Painter’s Partition Problem | 2697 |
| 792 | Balanced Binary Tree | 2697 |
| 793 | Hamming Distance | 2696 |
| 794 | Missing Number | 2686 |
| 795 | Maximum Product Subarray | 2676 |
| 796 | Peak Index in a Mountain Array LeetCode Solution | 2675 |
| 797 | Maximum difference between two elements such as larger element comes after smaller | 2672 |
| 798 | Create Maximum Number | 2671 |
| 799 | Iterative Postorder Traversal Using Two Stacks | 2668 |
| 800 | Valid Triangle Number LeetCode Solution | 2663 |
| 801 | Check if Two Expressions With Brackets are Same | 2663 |
| 802 | Check if a queue can be sorted into another queue using a stack | 2659 |
| 803 | Friends Of Appropriate Ages LeetCode Solution | 2658 |
| 804 | Defanging an IP Address LeetCode Solution | 2655 |
| 805 | Find Maximum Sum Possible Equal Sum of Three Stacks | 2655 |
| 806 | Lowest Common Ancestor | 2654 |
| 807 | Verify Preorder Serialization of a Binary Tree | 2651 |
| 808 | Find Three Element From Different Three Arrays Such That a + b + c = sum | 2647 |
| 809 | Count number of triplets with product equal to given number | 2643 |
| 810 | Sort Elements by Frequency II | 2641 |
| 811 | Minimum insertions to form a palindrome with permutations allowed | 2640 |
| 812 | Find Sum of all unique sub-array sum for a given array | 2639 |
| 813 | Find Element Using Binary Search in Sorted Array | 2639 |
| 814 | Find distance between two nodes of a Binary Tree | 2637 |
| 815 | Unique Binary Search Trees LeetCode Solution | 2634 |
| 816 | Maximum difference between frequency of two elements such that element having greater frequency is also greater | 2632 |
| 817 | Check if a given array can represent Preorder Traversal of Binary Search Tree | 2632 |
| 818 | Valid Triangle Number LeetCode Solution | 2631 |
| 819 | Vertical sum in a given binary tree | 2631 |
| 820 | Find subarray with given sum (Handles Negative Numbers) | 2628 |
| 821 | Newman-Conway Sequence | 2626 |
| 822 | Smallest Range II Leetcode Solution | 2622 |
| 823 | Merging Two Sorted Arrays | 2614 |
| 824 | Check if two nodes are on the same path in a Tree | 2608 |
| 825 | Number Of Longest Increasing Subsequence | 2608 |
| 826 | Find K Length Subarray of Maximum Average | 2607 |
| 827 | Minimum Distance Between BST Nodes Leetcode Solution | 2606 |
| 828 | Largest Submatrix With Rearrangements LeetCode Solution | 2605 |
| 829 | Maximum subsequence sum such that no three are consecutive | 2599 |
| 830 | First Bad Version | 2598 |
| 831 | Segment Tree | 2596 |
| 832 | Third Maximum Number Leetcode Solution | 2595 |
| 833 | Check Completeness of a Binary Tree LeetCode Solution | 2594 |
| 834 | Print all triplets in sorted array that form AP | 2594 |
| 835 | Find Common Characters Leetcode Solution | 2587 |
| 836 | Print All Distinct Elements of a Given Integer Array | 2585 |
| 837 | Maximum number of segments of lengths a, b and c | 2583 |
| 838 | Flatten 2D Vector LeetCode Solution | 2581 |
| 839 | Products of ranges in an array | 2580 |
| 840 | Arrange given numbers to form the biggest number | 2580 |
| 841 | Range Sum Query using Sparse Table | 2578 |
| 842 | Lower Case To Upper Case | 2574 |
| 843 | Largest subarray with equal number of 0s and 1s | 2573 |
| 844 | Find Smallest Range Containing Elements from k Lists | 2572 |
| 845 | Longest Bitonic Subsequence | 2570 |
| 846 | Kth Smallest Element in a Sorted Matrix LeetCode Solution | 2563 |
| 847 | Diagonal Traversal of Binary Tree | 2562 |
| 848 | Closest Leaf in a Binary Tree LeetCode Solution | 2560 |
| 849 | Find Peak Element | 2554 |
| 850 | Stone Game IV LeetCode Solution | 2552 |
| 851 | Employee Importance LeetCode Solution | 2552 |
| 852 | Valid Parenthesis String | 2552 |
| 853 | Trapping Rain Water II LeetCode Solution | 2551 |
| 854 | Array Nesting Leetcode Solution | 2550 |
| 855 | Find Nth Node | 2544 |
| 856 | Maximum Population Year LeetCode Solution | 2542 |
| 857 | Median of Two Sorted Arrays | 2541 |
| 858 | Contiguous Array | 2538 |
| 859 | Print Right View of a Binary Tree | 2538 |
| 860 | Compare Strings by Frequency of the Smallest Character Leetcode Solution | 2535 |
| 861 | Bottom View of a Binary Tree | 2530 |
| 862 | Distinct Subsequences | 2528 |
| 863 | Write a function to get the intersection point of two Linked Lists | 2526 |
| 864 | Longest Palindromic Subsequence | 2526 |
| 865 | Largest divisible pairs subset | 2522 |
| 866 | Largest BST Subtree LeetCode Solution | 2519 |
| 867 | Infix to Postfix | 2518 |
| 868 | Shuffle an Array | 2513 |
| 869 | Path Sum | 2503 |
| 870 | Four Elements that Sum to Given | 2501 |
| 871 | Number of siblings of a given Node in n-ary Tree | 2500 |
| 872 | Stone Game IV LeetCode Solution | 2494 |
| 873 | Count and Say | 2493 |
| 874 | Isomorphic Strings | 2493 |
| 875 | Subset Sum Problem in O(sum) space | 2491 |
| 876 | Binary array after M range toggle operations | 2489 |
| 877 | Find the largest multiple of 3 | 2486 |
| 878 | Permutations of a Given String Using STL | 2485 |
| 879 | Merge Two Sorted Arrays | 2483 |
| 880 | Unique Binary Search Trees | 2480 |
| 881 | Red-Black Tree Introduction | 2476 |
| 882 | Minimum Swaps To Make Sequences Increasing LeetCode Solution | 2471 |
| 883 | Closest Binary Search Tree Value Leetcode Solution | 2470 |
| 884 | Height of a generic tree from parent array | 2469 |
| 885 | Maximum Side Length of a Square with Sum Less than or Equal to Threshold LeetCode Solution | 2461 |
| 886 | Friends Pairing Problem | 2459 |
| 887 | The Number of Weak Characters in the Game LeetCode Solution | 2458 |
| 888 | Next Greater Element in an Array | 2458 |
| 889 | Maximum Product Subarray | 2452 |
| 890 | Find Largest d in Array such that a + b + c = d | 2450 |
| 891 | Count Primes in Ranges | 2445 |
| 892 | Sentence Screen Fitting LeetCode Solution | 2438 |
| 893 | Valid Perfect Square LeetCode Solution | 2437 |
| 894 | Valid Number | 2433 |
| 895 | Range Minimum Query (Square Root Decomposition and Sparse Table) | 2430 |
| 896 | Encoded String With Shortest Length LeetCode Solution | 2424 |
| 897 | Rearrange an array such that ‘arr[j]’ becomes ‘i’ if ‘arr[i]’ is ‘j’ | 2424 |
| 898 | Insert Delete GetRandom | 2424 |
| 899 | Transform a BST to Greater sum Tree | 2421 |
| 900 | Print n terms of Newman-Conway Sequence | 2420 |
| 901 | Averages of Levels in Binary Tree | 2419 |
| 902 | Find unique character in a string | 2405 |
| 903 | Shuffle a given Array | 2397 |
| 904 | Binary Search Tree Delete Operation | 2396 |
| 905 | Maximum Sum of 3 Non-Overlapping Subarrays | 2394 |
| 906 | Edit Distance | 2390 |
| 907 | Step-By-Step Directions From a Binary Tree Node to Another LeetCode Solution | 2389 |
| 908 | Binary Tree Longest Consecutive Sequence LeetCode Solution | 2384 |
| 909 | Convert BST into a Min-Heap without using array | 2384 |
| 910 | Minimum sum of squares of character counts in a given string after removing k characters | 2379 |
| 911 | Integer to Roman | 2378 |
| 912 | Reorganize String | 2371 |
| 913 | Serialize and Deserialize Binary Tree LeetCode Solution | 2370 |
| 914 | Orderly Queue LeetCode Solution | 2370 |
| 915 | Maximum Product Subarray | 2366 |
| 916 | Range Queries for Longest Correct Bracket Subsequence | 2365 |
| 917 | Next greater element | 2357 |
| 918 | Find Minimum In Rotated Sorted Array | 2356 |
| 919 | Serialize and Deserialize Binary Tree | 2354 |
| 920 | Kth Smallest Number in Multiplication Table Leetcode Solution | 2351 |
| 921 | Koko Eating Bananas LeetCode Solution | 2346 |
| 922 | Lowest Common Ancestor in Binary Search Tree | 2346 |
| 923 | Find the smallest binary digit multiple of given number | 2344 |
| 924 | K’th Largest element in BST using constant extra space | 2344 |
| 925 | Next Greater Element II LeetCode Solution | 2341 |
| 926 | Array Queries for multiply replacements and product | 2341 |
| 927 | Bold Words in String LeetCode Solution | 2339 |
| 928 | Swap Nodes In Pairs | 2335 |
| 929 | Diameter of N-Ary Tree LeetCode Solution | 2322 |
| 930 | Maximum Sum Increasing Subsequence | 2321 |
| 931 | K’th Largest Element in BST when modification to BST is not allowed | 2313 |
| 932 | Moving Stones Until Consecutive Leetcode Solution | 2310 |
| 933 | Constant time range add operation on an array | 2304 |
| 934 | Advantages of BST over Hash Table | 2304 |
| 935 | Insert into a Sorted Circular Linked List LeetCode Solution | 2303 |
| 936 | Write Code to Determine if Two Trees are Identical | 2300 |
| 937 | Design Underground System Leetcode Solution | 2294 |
| 938 | Valid Tic-Tac-Toe State LeetCode Solution | 2285 |
| 939 | Best Meeting Point LeetCode Solution | 2281 |
| 940 | Queries on XOR of greatest odd divisor of the range | 2267 |
| 941 | Reverse a Path in BST using Queue | 2266 |
| 942 | Check if an Array is Stack Sortable | 2266 |
| 943 | Longest Increasing Consecutive Subsequence | 2263 |
| 944 | Power of Two | 2261 |
| 945 | Number of elements less than or equal to a given number in a given subarray | 2255 |
| 946 | Numbers with prime frequencies greater than or equal to k | 2253 |
| 947 | Total Hamming Distance LeetCode Solution | 2251 |
| 948 | Check if X can give change to every person in the Queue | 2244 |
| 949 | Check if each internal node of a BST has exactly one child | 2244 |
| 950 | Number of Orders in the Backlog Leetcode Solution | 2242 |
| 951 | Form minimum number from given sequence | 2240 |
| 952 | Find the node with minimum value in a Binary Search Tree | 2239 |
| 953 | Greatest Sum Divisible by Three LeetCode Solution | 2238 |
| 954 | Clone a Binary Tree with Random Pointers | 2238 |
| 955 | Level Order Traversal of Binary Tree | 2238 |
| 956 | Image Overlap LeetCode Solution | 2236 |
| 957 | Maximum Array from Two given Arrays Keeping Order Same | 2233 |
| 958 | A program to check if a binary tree is BST or not | 2231 |
| 959 | Count the Pairs at Same Distance as in English Alphabets | 2231 |
| 960 | Find minimum number of merge operations to make an array palindrome | 2229 |
| 961 | Design Add and Search Words Data Structure LeetCode Solution | 2228 |
| 962 | Graph Cloning | 2223 |
| 963 | Merge Sort | 2217 |
| 964 | Count and Toggle Queries on a Binary Array | 2212 |
| 965 | Factorial Trailing Zeroes LeetCode Solution | 2211 |
| 966 | Collect maximum points in a grid using two traversals | 2208 |
| 967 | Closest Binary Search Tree Value II LeetCode Solution | 2204 |
| 968 | Form Minimum Number From Given Sequence | 2202 |
| 969 | Largest Plus Sign Leetcode Solution | 2196 |
| 970 | Check for Palindrome after every character replacement Query | 2195 |
| 971 | Merge two BSTs with limited extra space | 2195 |
| 972 | Print Next Greater Number of Q queries | 2191 |
| 973 | Group Shifted Strings Leetcode Solution | 2187 |
| 974 | Dividing Array into Pairs With Sum Divisible by K | 2186 |
| 975 | Merge Sorted Array | 2186 |
| 976 | Queries for Decimal Values of Subarrays of a Binary Array | 2185 |
| 977 | Print all Possible Ways to Break a String in Bracket Form | 2184 |
| 978 | Maximum difference between first and last indexes of an element in array | 2183 |
| 979 | Print Ancestors of a Given Binary Tree Node Without Recursion | 2163 |
| 980 | Priority Queue | 2157 |
| 981 | Excel Sheet Column Number LeetCode Solution | 2153 |
| 982 | Print modified array after multiple array range increment operations | 2147 |
| 983 | Count even length binary sequences with same sum of first and second half bits | 2143 |
| 984 | Longest Substring Without Repeating Characters Leetcode Solution | 2139 |
| 985 | Binary Search Tree | 2135 |
| 986 | Palindrome Partitioning | 2131 |
| 987 | Guess The Word | 2131 |
| 988 | Swim in Rising Water LeetCode Solution | 2129 |
| 989 | Minimum Moves to Equal Array Elements LeetCode Solution | 2125 |
| 990 | Cutting a Rod | 2119 |
| 991 | Find postorder traversal of BST from preorder traversal | 2112 |
| 992 | Kth Smallest Element in a BST | 2107 |
| 993 | Excel Sheet Column Title LeetCode Solution | 2101 |
| 994 | Unique Paths II | 2094 |
| 995 | Count Pairs Whose Products Exist in Array | 2091 |
| 996 | Insert Delete GetRandom O(1) – Duplicates allowed LeetCode Solution | 2079 |
| 997 | Find maximum average subarray of k length | 2077 |
| 998 | How to print maximum number of A’s using given four keys | 2076 |
| 999 | Regular Expression Matching | 2074 |
| 1000 | Binary Search Tree Search and Insertion | 2073 |
| 1001 | Longest Common Prefix using Character by Character Matching | 2058 |
| 1002 | Check given array of size n can represent BST of n levels or not | 2056 |
| 1003 | Sum of Left Leaves LeetCode Solution | 2053 |
| 1004 | K Empty Slots | 2047 |
| 1005 | Sorted Array to Balanced BST | 2026 |
| 1006 | Queries for Number of Distinct Elements in a Subarray | 2017 |
| 1007 | Minimum Possible Integer After at Most K Adjacent Swaps On Digits LeetCode Solution | 2015 |
| 1008 | Decrease Elements To Make Array Zigzag LeetCode Solution | 2002 |
| 1009 | Maximum Depth Of Binary Tree | 2002 |
| 1010 | Iterative method to find ancestors of a given binary tree | 1991 |
| 1011 | Find the Town Judge LeetCode Solution | 1978 |
| 1012 | Construct Complete Binary Tree from its Linked List Representation | 1976 |
| 1013 | Shortest Unsorted Continuous Subarray LeetCode Solution | 1967 |
| 1014 | Find Maximum Depth of Nested Parenthesis in a String | 1964 |
| 1015 | Binary Tree to Binary Search Tree Conversion using STL set | 1948 |
| 1016 | Maximum weight transformation of a given string | 1946 |
| 1017 | Symmetric Tree LeetCode Solution Leetcode Solution | 1928 |
| 1018 | Data Structure Designing | 1914 |
| 1019 | Random Pick Index LeetCode Solution | 1913 |
| 1020 | Search in Sorted Rotated Array | 1900 |
| 1021 | Convert a BST to a Binary Tree such that sum of all greater keys is added to every key | 1873 |
| 1022 | Search an Element in Sorted Rotated Array | 1857 |
| 1023 | Kth Smallest Product of Two Sorted Arrays LeetCode Solution | 1856 |
| 1024 | Next Greater Element I Leetcode Solution | 1854 |
| 1025 | Minimum Number of Operations to Move All Balls to Each Box LeetCode Solution | 1839 |
| 1026 | Print Maximum Length Chain of Pairs | 1837 |
| 1027 | Flatten Binary Tree to Linked List LeetCode Solution | 1814 |
| 1028 | Maximum Binary Tree | 1796 |
| 1029 | Find k-th smallest element in BST (Order Statistics in BST) | 1759 |
| 1030 | Peeking Iterator LeetCode Solution | 1753 |
| 1031 | Find Two Non-overlapping Sub-arrays Each With Target Sum LeetCode Solution | 1706 |