All Goldman Sachs Coding Interview Questions
238 questions we track for Goldman Sachs, most frequently asked first. Practice any of them in the code editor and get AI feedback on your solution.
- Junior18% (43)
- Mid/Senior63% (151)
- Staff18% (44)
Questionspage 3 of 3
- Count Good Nodes in Binary Tree7 companiesMid/Senior
- Allocate Mailboxes4 companiesStaff
- Magnetic Force Between Two Balls10 companiesMid/Senior
- Shortest Subarray to be Removed to Make Array Sorted9 companiesMid/Senior
- Minimum Initial Energy to Finish Tasks5 companiesStaff
- Minimum Length of String After Deleting Similar Ends3 companiesMid/Senior
- Check if Array Is Sorted and Rotated10 companiesJunior
- Maximize Palindrome Length From Subsequences1 companyStaff
- Find the Winner of the Circular Game12 companiesMid/Senior
- Check if the Sentence Is Pangram6 companiesJunior
- Single-Threaded CPU7 companiesMid/Senior
- Frequency of the Most Frequent Element11 companiesMid/Senior
- Remove One Element to Make the Array Strictly Increasing3 companiesJunior
- Remove All Occurrences of a Substring13 companiesMid/Senior
- Find Original Array From Doubled Array6 companiesMid/Senior
- Minimum Cost Homecoming of a Robot in a Grid3 companiesMid/Senior
- Delete the Middle Node of a Linked List7 companiesMid/Senior
- Valid Arrangement of Pairs4 companiesStaff
- Keep Multiplying Found Values by Two4 companiesJunior
- Sort the Jumbled Numbers4 companiesMid/Senior
- Minimum Number of Moves to Make Palindrome5 companiesStaff
- Count Number of Texts3 companiesMid/Senior
- Successful Pairs of Spells and Potions7 companiesMid/Senior
- Construct Smallest Number From DI String3 companiesMid/Senior
- Amount of Time for Binary Tree to Be Infected12 companiesMid/Senior
- Meeting Rooms III12 companiesStaff
- Find All Good Indices1 companyMid/Senior
- Range Product Queries of Powers5 companiesMid/Senior
- Determine if Two Events Have Conflict2 companiesJunior
- Count Palindromic Subsequences12 companiesStaff
- Count Collisions of Monkeys on a Polygon3 companiesMid/Senior
- Count of Integers2 companiesStaff
- Lexicographically Smallest String After Substring Operation4 companiesMid/Senior
- Minimum Moves to Capture The Queen2 companiesMid/Senior
- Minimum Number of Chairs in a Waiting Room3 companiesJunior
- Identify the Largest Outlier in an Array4 companiesMid/Senior
- Find the Minimum Amount of Time to Brew Potions6 companiesMid/Senior
- Number of Perfect Pairs6 companiesMid/Senior