Coding interview questions
Goldman Sachs Coding Interview Questions (DSA)
The 39 DSA problems Goldman Sachs has asked most in the last six months, most-asked first. 39 of them have a full breakdown with diagrams and code. Tick them off as you go.


Practice a Goldman Sachs interview with me
I'm Alex. I'll pick 2 problems from Goldman Sachs's list at your level and interview you like a real Goldman Sachs round.
By difficulty: Easy (6) · Medium (27) · Hard (6)
Companies
Topics
Frequently Asked Questions
What questions does Goldman Sachs ask in coding interviews?
Goldman Sachs coding interviews focus on Array, Binary Search, Binary Tree, Bit Manipulation, and other data structure problems. We compiled 39 questions from real Goldman Sachs interviews. The most common topics are Array, Binary Search, Binary Tree, Bit Manipulation, Breadth-First Search. Filter by topic to see what comes up most often.
How many Goldman Sachs coding interview questions are there?
InterviewSkool has 39 Goldman Sachs coding interview questions: 6 Easy, 27 Medium, and 6 Hard. Most Goldman Sachs interviews focus on Medium-difficulty problems, so prioritize those in your prep.
How should I prepare for Goldman Sachs coding interviews?
Start with Medium difficulty problems. Group by topic (Array, Tree, DP) to build pattern recognition. Aim to solve 30 to 40 problems before your interview. Then practice under pressure with a mock interview.
Are Goldman Sachs coding interview questions free?
Yes. All 39 Goldman Sachs coding interview questions are free to browse with no sign-up required. You can filter by difficulty and topic tags. Start a mock interview with a free credit to practice under real pressure.
Practice with a Mock Interview
Simulate real Goldman Sachs interview pressure with our AI interviewer.
Start Mock Interview →