Quant & Finance
Goldman Sachs interview questions
Grouped by topic, sorted Easy → Medium → Hard, then by LeetCode ID. Click a problem to open it on LeetCode; the chapter column links to the handbook chapter that covers it.
- Problems
- 33
- Easy
- 6
- Medium
- 22
- Hard
- 5
- Mapped to chapter
- 19
Array
24 problemsEasy 2
Medium 18
Hard 4
| # | Title | Difficulty | Also at | Chapter |
|---|---|---|---|---|
| 4 | Median of Two Sorted Arraysalso at:BloombergCitadelAdobe Also at 18 moreAmazonAppleAutodeskByteDanceDropboxeBayFlipkartGoogleIntuitMetaMicrosoftOktaPayPalQualcommRipplingSnapSwiggyVMware | Hard | Chapter | |
| 42 | Trapping Rain Wateralso at:BloombergCitadelAdobe Also at 34 moreAirbnbAmazonAtlassianByteDanceCrowdStrikeDocuSigneBayFlipkartGoogleGrowwInMobiIntelIntuitLyftMetaMicrosoftMyntraNaviNVIDIAOpenAIPayPalPaytmPhonePeQualcommRakutenRobloxSAPSnowflakeSwiggyTeslaUrban CompanyWalmart Global TechX (Twitter)Zoho | Hard | Chapter | |
| 465 | Optimal Account Balancingalso at:ByteDanceGooglePinterest Also at 2 moreRipplingZscaler | Hard | — | |
| 1665 | Minimum Initial Energy to Finish Tasksalso at:AmazonGoogle | Hard | — |
Hash Table
4 problemsEasy 2
| # | Title | Difficulty | Also at | Chapter |
|---|---|---|---|---|
| 13 | Roman to Integeralso at:BloombergAdobeAmazon Also at 8 moreAMDDoorDashGoogleInMobiMetaMicrosoftRakutenReddit | Easy | — | |
| 387 | First Unique Character in a Stringalso at:BloombergMorgan StanleyAdobe Also at 6 moreAmazonGoogleMicrosoftPayPalRazorpayWise | Easy | — |
Medium 1
| # | Title | Difficulty | Also at | Chapter |
|---|---|---|---|---|
| 166 | Fraction to Recurring Decimalalso at:GoogleLINE | Medium | — |
Misc
5 problemsEasy 2
| # | Title | Difficulty | Also at | Chapter |
|---|---|---|---|---|
| 69 | Sqrt(x)also at:BloombergCitadelAmazon Also at 4 moreGoogleLyftMetaMicrosoft | Easy | — | |
| 657 | Robot Return to Originalso at:GoogleMicrosoft | Easy | — |
Medium 3
| # | Title | Difficulty | Also at | Chapter |
|---|---|---|---|---|
| 62 | Unique Paths★ also at:BloombergAdobeAmazon Also at 8 moreFlipkartGoogleInMobiMetaMicrosoftQualcommRazorpayVMware | Medium | Chapter | |
| 443 | String Compressionalso at:AmazonCrowdStrikeeBay Also at 13 moreGoogleLyftMetaMicrosoftMongoDBPalantirPaytmRakutenSalesforceSAPSnapSpotifyYelp | Medium | — | |
| 1209 | Remove All Adjacent Duplicates in String IIalso at:BloombergMorgan StanleyAmazon Also at 3 moreMicrosoftPayPalVMware | Medium | — |
No problems match those filters
Toggle a difficulty back on or clear the search.