All companies
Goldman Sachs
46 Easy167 Medium48 Hard261 total
| No. | Problem | Difficulty | Frequency |
|---|---|---|---|
| 42 | Trapping Rain Water | Hard | |
| 4 | Median of Two Sorted Arrays | Hard | |
| 166 | Fraction to Recurring Decimal | Medium | |
| 387 | First Unique Character in a String | Easy | |
| 1086 | High Five | Easy | |
| 3 | Longest Substring Without Repeating Characters | Medium | |
| 11 | Container With Most Water | Medium | |
| 33 | Search in Rotated Sorted Array | Medium | |
| 49 | Group Anagrams | Medium | |
| 56 | Merge Intervals | Medium | |
| 64 | Minimum Path Sum | Medium | |
| 91 | Decode Ways | Medium | |
| 146 | LRU Cache | Medium | |
| 200 | Number of Islands | Medium | |
| 443 | String Compression | Medium | |
| 1041 | Robot Bounded In Circle | Medium | |
| 1823 | Find the Winner of the Circular Game | Medium | |
| 1 | Two Sum | Easy | |
| 53 | Maximum Subarray | Medium | |
| 118 | Pascal's Triangle | Easy | |
| 121 | Best Time to Buy and Sell Stock | Easy | |
| 122 | Best Time to Buy and Sell Stock II | Medium | |
| 2087 | Minimum Cost Homecoming of a Robot in a Grid | Medium | |
| 153 | Find Minimum in Rotated Sorted Array | Medium | |
| 2097 | Valid Arrangement of Pairs | Hard | |
| 215 | Kth Largest Element in an Array | Medium | |
| 2154 | Keep Multiplying Found Values by Two | Easy | |
| 2266 | Count Number of Texts | Medium | |
| 2300 | Successful Pairs of Spells and Potions | Medium | |
| 347 | Top K Frequent Elements | Medium | |
| 2420 | Find All Good Indices | Medium | |
| 2438 | Range Product Queries of Powers | Medium | |
| 2446 | Determine if Two Events Have Conflict | Easy | |
| 2484 | Count Palindromic Subsequences | Hard | |
| 2550 | Count Collisions of Monkeys on a Polygon | Medium | |
| 657 | Robot Return to Origin | Easy | |
| 688 | Knight Probability in Chessboard | Medium | |
| 706 | Design HashMap | Easy | |
| 862 | Shortest Subarray with Sum at Least K | Hard | |
| 931 | Minimum Falling Path Sum | Medium | |
| 1010 | Pairs of Songs With Total Durations Divisible by 60 | Medium | |
| 1109 | Corporate Flight Bookings | Medium | |
| 1116 | Print Zero Even Odd | Medium | |
| 3001 | Minimum Moves to Capture The Queen | Medium | |
| 1209 | Remove All Adjacent Duplicates in String II | Medium | |
| 2191 | Sort the Jumbled Numbers | Medium | |
| 1427 | Perform String Shifts | Easy | |
| 3168 | Minimum Number of Chairs in a Waiting Room | Easy | |
| 3167 | Better Compression of String | Medium | |
| 1750 | Minimum Length of String After Deleting Similar Ends | Medium | |
| 1771 | Maximize Palindrome Length From Subsequences | Hard | |
| 465 | Optimal Account Balancing | Hard | |
| 3437 | Permutations III | Medium | |
| 3494 | Find the Minimum Amount of Time to Brew Potions | Medium | |
| 1094 | Car Pooling | Medium | |
| 516 | Longest Palindromic Subsequence | Medium | |
| 2 | Add Two Numbers | Medium | |
| 5 | Longest Palindromic Substring | Medium | |
| 8 | String to Integer (atoi) | Medium | |
| 13 | Roman to Integer | Easy | |
| 15 | 3Sum | Medium | |
| 20 | Valid Parentheses | Easy | |
| 50 | Pow(x, n) | Medium | |
| 51 | N-Queens | Hard | |
| 54 | Spiral Matrix | Medium | |
| 55 | Jump Game | Medium | |
| 62 | Unique Paths | Medium | |
| 69 | Sqrt(x) | Easy | |
| 70 | Climbing Stairs | Easy | |
| 73 | Set Matrix Zeroes | Medium | |
| 135 | Candy | Hard | |
| 141 | Linked List Cycle | Easy | |
| 152 | Maximum Product Subarray | Medium | |
| 162 | Find Peak Element | Medium | |
| 198 | House Robber | Medium | |
| 209 | Minimum Size Subarray Sum | Medium | |
| 218 | The Skyline Problem | Hard | |
| 238 | Product of Array Except Self | Medium | |
| 239 | Sliding Window Maximum | Hard | |
| 295 | Find Median from Data Stream | Hard | |
| 74 | Search a 2D Matrix | Medium | |
| 394 | Decode String | Medium | |
| 2375 | Construct Smallest Number From DI String | Medium | |
| 560 | Subarray Sum Equals K | Medium | |
| 647 | Palindromic Substrings | Medium | |
| 735 | Asteroid Collision | Medium | |
| 739 | Daily Temperatures | Medium | |
| 844 | Backspace String Compare | Easy | |
| 994 | Rotting Oranges | Medium | |
| 1011 | Capacity To Ship Packages Within D Days | Medium | |
| 1413 | Minimum Value to Get Positive Step by Step Sum | Easy | |
| 1832 | Check if the Sentence Is Pangram | Easy | |
| 424 | Longest Repeating Character Replacement | Medium | |
| 273 | Integer to English Words | Hard | |
| 23 | Merge k Sorted Lists | Hard | |
| 641 | Design Circular Deque | Medium | |
| 1235 | Maximum Profit in Job Scheduling | Hard | |
| 206 | Reverse Linked List | Easy | |
| 22 | Generate Parentheses | Medium | |
| 752 | Open the Lock | Medium | |
| 457 | Circular Array Loop | Medium | |
| 128 | Longest Consecutive Sequence | Medium | |
| 1446 | Consecutive Characters | Easy | |
| 414 | Third Maximum Number | Easy | |
| 283 | Move Zeroes | Easy | |
| 968 | Binary Tree Cameras | Hard | |
| 322 | Coin Change | Medium | |
| 3371 | Identify the Largest Outlier in an Array | Medium | |
| 695 | Max Area of Island | Medium | |
| 210 | Course Schedule II | Medium | |
| 1343 | Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold | Medium | |
| 240 | Search a 2D Matrix II | Medium | |
| 85 | Maximal Rectangle | Hard | |
| 354 | Russian Doll Envelopes | Hard | |
| 1478 | Allocate Mailboxes | Hard | |
| 611 | Valid Triangle Number | Medium | |
| 621 | Task Scheduler | Medium | |
| 1219 | Path with Maximum Gold | Medium | |
| 25 | Reverse Nodes in k-Group | Hard | |
| 875 | Koko Eating Bananas | Medium | |
| 84 | Largest Rectangle in Histogram | Hard | |
| 3649 | Number of Perfect Pairs | Medium | |
| 88 | Merge Sorted Array | Easy | |
| 134 | Gas Station | Medium | |
| 76 | Minimum Window Substring | Hard | |
| 3885 | Design Event Manager | Medium | |
| 1665 | Minimum Initial Energy to Finish Tasks | Hard | |
| 12 | Integer to Roman | Medium | |
| 17 | Letter Combinations of a Phone Number | Medium | |
| 21 | Merge Two Sorted Lists | Easy | |
| 31 | Next Permutation | Medium | |
| 41 | First Missing Positive | Hard | |
| 45 | Jump Game II | Medium | |
| 48 | Rotate Image | Medium | |
| 79 | Word Search | Medium | |
| 119 | Pascal's Triangle II | Easy | |
| 143 | Reorder List | Medium | |
| 160 | Intersection of Two Linked Lists | Easy | |
| 188 | Best Time to Buy and Sell Stock IV | Hard | |
| 221 | Maximal Square | Medium | |
| 268 | Missing Number | Easy | |
| 287 | Find the Duplicate Number | Medium | |
| 300 | Longest Increasing Subsequence | Medium | |
| 326 | Power of Three | Easy | |
| 340 | Longest Substring with At Most K Distinct Characters | Medium | |
| 344 | Reverse String | Easy | |
| 452 | Minimum Number of Arrows to Burst Balloons | Medium | |
| 496 | Next Greater Element I | Easy | |
| 2719 | Count of Integers | Hard | |
| 767 | Reorganize String | Medium | |
| 780 | Reaching Points | Hard | |
| 1395 | Count Number of Teams | Medium | |
| 1396 | Design Underground System | Medium | |
| 205 | Isomorphic Strings | Easy | |
| 564 | Find the Closest Palindrome | Hard | |
| 37 | Sudoku Solver | Hard | |
| 1004 | Max Consecutive Ones III | Medium | |
| 98 | Validate Binary Search Tree | Medium | |
| 264 | Ugly Number II | Medium | |
| 540 | Single Element in a Sorted Array | Medium | |
| 412 | Fizz Buzz | Easy | |
| 93 | Restore IP Addresses | Medium | |
| 325 | Maximum Size Subarray Sum Equals k | Medium | |
| 124 | Binary Tree Maximum Path Sum | Hard | |
| 909 | Snakes and Ladders | Medium | |
| 78 | Subsets | Medium | |
| 171 | Excel Sheet Column Number | Easy | |
| 918 | Maximum Sum Circular Subarray | Medium | |
| 460 | LFU Cache | Hard | |
| 289 | Game of Life | Medium | |
| 59 | Spiral Matrix II | Medium | |
| 336 | Palindrome Pairs | Hard | |
| 456 | 132 Pattern | Medium | |
| 1838 | Frequency of the Most Frequent Element | Medium | |
| 2043 | Simple Bank System | Medium | |
| 227 | Basic Calculator II | Medium | |
| 1910 | Remove All Occurrences of a Substring | Medium | |
| 112 | Path Sum | Easy | |
| 1448 | Count Good Nodes in Binary Tree | Medium | |
| 653 | Two Sum IV - Input is a BST | Easy | |
| 503 | Next Greater Element II | Medium | |
| 779 | K-th Symbol in Grammar | Medium | |
| 208 | Implement Trie (Prefix Tree) | Medium | |
| 2402 | Meeting Rooms III | Hard | |
| 622 | Design Circular Queue | Medium | |
| 2734 | Lexicographically Smallest String After Substring Operation | Medium | |
| 277 | Find the Celebrity | Medium | |
| 120 | Triangle | Medium | |
| 1091 | Shortest Path in Binary Matrix | Medium | |
| 815 | Bus Routes | Hard | |
| 225 | Implement Stack using Queues | Easy | |
| 150 | Evaluate Reverse Polish Notation | Medium | |
| 101 | Symmetric Tree | Easy | |
| 34 | Find First and Last Position of Element in Sorted Array | Medium | |
| 102 | Binary Tree Level Order Traversal | Medium | |
| 435 | Non-overlapping Intervals | Medium | |
| 68 | Text Justification | Hard | |
| 416 | Partition Equal Subset Sum | Medium | |
| 312 | Burst Balloons | Hard | |
| 873 | Length of Longest Fibonacci Subsequence | Medium | |
| 123 | Best Time to Buy and Sell Stock III | Hard | |
| 204 | Count Primes | Medium | |
| 979 | Distribute Coins in Binary Tree | Medium | |
| 1262 | Greatest Sum Divisible by Three | Medium | |
| 127 | Word Ladder | Hard | |
| 2007 | Find Original Array From Doubled Array | Medium | |
| 1552 | Magnetic Force Between Two Balls | Medium | |
| 724 | Find Pivot Index | Easy | |
| 1574 | Shortest Subarray to be Removed to Make Array Sorted | Medium | |
| 741 | Cherry Pickup | Hard | |
| 1146 | Snapshot Array | Medium | |
| 643 | Maximum Average Subarray I | Easy | |
| 47 | Permutations II | Medium | |
| 169 | Majority Element | Easy | |
| 279 | Perfect Squares | Medium | |
| 1044 | Longest Duplicate Substring | Hard | |
| 703 | Kth Largest Element in a Stream | Easy | |
| 2385 | Amount of Time for Binary Tree to Be Infected | Medium | |
| 103 | Binary Tree Zigzag Level Order Traversal | Medium | |
| 231 | Power of Two | Easy | |
| 980 | Unique Paths III | Hard | |
| 2095 | Delete the Middle Node of a Linked List | Medium | |
| 1106 | Parsing A Boolean Expression | Hard | |
| 2714 | Find Shortest Path with K Hops | Hard | |
| 36 | Valid Sudoku | Medium | |
| 1245 | Tree Diameter | Medium | |
| 75 | Sort Colors | Medium | |
| 1247 | Minimum Swaps to Make Strings Equal | Medium | |
| 328 | Odd Even Linked List | Medium | |
| 399 | Evaluate Division | Medium | |
| 2093 | Minimum Cost to Reach City With Discounts | Medium | |
| 1834 | Single-Threaded CPU | Medium | |
| 46 | Permutations | Medium | |
| 1522 | Diameter of N-Ary Tree | Medium | |
| 2193 | Minimum Number of Moves to Make Palindrome | Hard | |
| 973 | K Closest Points to Origin | Medium | |
| 945 | Minimum Increment to Make Array Unique | Medium | |
| 853 | Car Fleet | Medium | |
| 1277 | Count Square Submatrices with All Ones | Medium | |
| 151 | Reverse Words in a String | Medium | |
| 26 | Remove Duplicates from Sorted Array | Easy | |
| 1371 | Find the Longest Substring Containing Vowels in Even Counts | Medium | |
| 1312 | Minimum Insertion Steps to Make a String Palindrome | Hard | |
| 934 | Shortest Bridge | Medium | |
| 1472 | Design Browser History | Medium | |
| 236 | Lowest Common Ancestor of a Binary Tree | Medium | |
| 678 | Valid Parenthesis String | Medium | |
| 242 | Valid Anagram | Easy | |
| 692 | Top K Frequent Words | Medium | |
| 392 | Is Subsequence | Easy | |
| 721 | Accounts Merge | Medium | |
| 179 | Largest Number | Medium | |
| 1483 | Kth Ancestor of a Tree Node | Hard | |
| 410 | Split Array Largest Sum | Hard | |
| 1353 | Maximum Number of Events That Can Be Attended | Medium | |
| 1535 | Find the Winner of an Array Game | Medium | |
| 207 | Course Schedule | Medium | |
| 713 | Subarray Product Less Than K | Medium | |
| 154 | Find Minimum in Rotated Sorted Array II | Hard | |
| 738 | Monotone Increasing Digits | Medium | |
| 24 | Swap Nodes in Pairs | Medium |
