Company interviews / Goldman Sachs
Goldman Sachs interview practice
248 coding questions are known to come up in Goldman Sachs interviews (44 easy, 157 medium, 47 hard), 37 of them in the last six months. The most common topics are Array, String, Dynamic Programming, Hash Table.
248Known questions
37Asked in last 6 months
157Medium
47Hard
Coding questions Goldman Sachs asks
From public company-tagged interview question lists. Most recent and most frequent first.
Easy 44Medium 157Hard 47
- Array149
- String66
- Dynamic Programming57
- Hash Table51
- Sorting41
- Binary Search33
- Math31
- Two Pointers29
- Greedy27
- Matrix25
- Stack22
- Breadth-First Search22
| Question | Difficulty | Asked recently |
|---|---|---|
| Trapping Rain Water | Hard | Yes |
| Median of Two Sorted Arrays | Hard | Yes |
| First Unique Character in a String | Easy | Yes |
| Fraction to Recurring Decimal | Medium | Yes |
| Minimum Path Sum | Medium | Yes |
| LRU Cache | Medium | Yes |
| Container With Most Water | Medium | Yes |
| Longest Substring Without Repeating Characters | Medium | Yes |
| String Compression | Medium | Yes |
| Find the Winner of the Circular Game | Medium | Yes |
| Merge Intervals | Medium | Yes |
| Number of Islands | Medium | Yes |
| Group Anagrams | Medium | Yes |
| Search in Rotated Sorted Array | Medium | Yes |
| Best Time to Buy and Sell Stock | Easy | Yes |
| Two Sum | Easy | Yes |
| Longest Palindromic Subsequence | Medium | Yes |
| Sell Diminishing-Valued Colored Balls | Medium | Yes |
| Robot Return to Origin | Easy | Yes |
| Valid Arrangement of Pairs | Hard | Yes |
| Design HashMap | Easy | Yes |
| Pascal's Triangle | Easy | Yes |
| Longest Palindromic Substring | Medium | Yes |
| Search a 2D Matrix | Medium | Yes |
| Sqrt(x) | Easy | Yes |
Practice a Goldman Sachs interview
Take the same AI interview a Goldman Sachs candidate would face: you talk it through while you code, and get a scorecard with what earned each score. Three single-question interviews a day are free.