Coding interview questions

Goldman Sachs Hard Coding Interview Questions (DSA)

The 6 hard DSA problems Goldman Sachs has asked most in the last six months, most-asked first. Switch tabs to see the rest of the 39. 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.

6hard problems
6full breakdowns
39Goldman Sachs problems in all

By difficulty: All (39) · Easy (6) · Medium (27) · Hard (6)

Start Goldman Sachs Mock Interview→

Topics

4.Median of Two Sorted Arrays
Full breakdownArrayBinary SearchDivide and Conquer
Hard+5▶ Mock
42.Trapping Rain Water
Full breakdownArrayTwo PointersDynamic Programming
Hard+6▶ Mock
2097.Valid Arrangement of Pairs
Full breakdownArrayDepth-First SearchGraph Theory
2791.Count Paths That Can Form a Palindrome in a Tree
Full breakdownHash TableBit ManipulationTree
124.Binary Tree Maximum Path Sum
Full breakdownDynamic ProgrammingTreeDepth-First Search
460.LFU Cache
Full breakdownHash TableLinked ListDesign
Hard+1▶ Mock

Frequently Asked Questions

What hard Goldman Sachs coding questions are most common?

InterviewSkool has 6 hard Goldman Sachs coding questions. Focus on the top 10 to 15 most common problems for the best ROI.

How many hard questions does Goldman Sachs have?

Goldman Sachs has 6 hard coding questions out of 39 total. Hard problems are less common but can appear in senior-level interviews.

Are these Goldman Sachs hard questions free?

Yes. All 6 hard Goldman Sachs coding questions are free to browse. No sign-up required. Filter by topic and click any problem to open it on LeetCode.

Practice with a Mock Interview

Simulate real Goldman Sachs interview pressure with our AI interviewer.

Start Mock Interview →