By DSA Prep Team · February 15, 2026 · 15 min read · Data: 325 verified questions
Goldman Sachs interviews feel different from pure tech companies. There's more math, more optimization, and more finance-flavored problem statements β but under the hood, it's still the same core DSA patterns.
This guide breaks down 325 real Goldman Sachs interview questions: which patterns dominate, the exact difficulty mix, the top 20 problems you should solve right now, and a focused 30-day plan to get you ready.
Goldman Sachs is heavily Medium-weighted at 63%, with a relatively low Hard share at 13%, which means consistent performance on medium problems matters more than mastering rare brain-teasers.
Top 10 Patterns Asked at Goldman Sachs
Rank
Pattern
Frequency
Questions
1
Array
59.1%
192
2
String
29.8%
97
3
Hash Table
25.5%
83
4
Dynamic Programming
22.5%
73
5
Math
14.5%
47
6
Sorting
13.5%
44
7
Two Pointers
13.2%
43
8
Binary Search
11.4%
37
9
Greedy
9.5%
31
10
Matrix
8.6%
28
Pattern Strategy
Master patterns 1β3 first β covers ~40β50% of Goldman Sachs questions.
Patterns 4β7 are your insurance β covers another 20β30%.
Patterns 8β10 are bonus for senior roles or hard rounds.
Top 20 Goldman Sachs Interview Questions
The most frequently asked and recent problems from Goldman Sachs, grouped by difficulty:
Daily Goal: 2β3 problems from #Array, #String, #Hash Table.
Day 1β7: Solve 15β20 easy/medium problems.
Day 8β14: Re-solve Day 1β7 problems from memory (spaced repetition).
Track: Tag all problems with "Goldman Sachs" in DSAPrep.dev.
Week 3 Mixed Difficulty Practice
Daily Goal: 1 easy (warm-up) + 1β2 medium (challenge).
Morning: Review problems from Week 1β2 using the "Due Today" queue.
Afternoon: Solve 2 new Goldman Sachsβtagged problems.
Evening: Watch one mock interview video (YouTube: "Goldman Sachs interview").
Week 4 Mock Interviews & Hard Problems
Monday/Wednesday/Friday: Full mock (2 problems, 90 mins total).
Tuesday/Thursday: Solve 1 hard problem + review weak patterns.
Saturday: Review all problems from this month.
Sunday: Rest or light review.
Self-Assessment β by end of Week 4 you should:
β Solve 70%+ Goldman Sachs easy problems in <10 mins.
β Solve 50%+ Goldman Sachs medium problems in <25 mins.
β Recognize top 5 patterns within 2 mins of reading a problem.
β Explain time/space complexity without hesitation.
What Makes Goldman Sachs Interviews Unique
π Finance Domain Context
Many questions come wrapped in trading, risk, or portfolio management stories, so being comfortable with basic financial terminology makes it easier to map the narrative to a clean DSA model.
β Strong Math & Probability Flavor
Expect more combinatorics, probability, and numeric reasoning than at most big tech firms, especially for quant-leaning or trading-adjacent roles.
β‘ Optimization Really Matters
Because finance systems care about latency and throughput, interviewers pay extra attention to time complexity and constant factors, and often push you beyond the first working solution.
π§ Ethics, Pressure, and Fit
Behavioral rounds test how you act under pressure and how you think about responsibility and ethics in high-stakes environments, so prepare STAR stories around teamwork, pressure, and integrity.
How to Track Your Goldman Sachs Prep with DSAPrep.dev
Step 1: Filter by Company
Open DSAPrep.dev β Filter by "Goldman Sachs" to see all tagged problems in one view.
Step 2: Track Pattern Coverage
Use the dashboard to find weak areas, for example: "Goldman Sachs DP Problems: 5/25 done (20%)."
Push low-coverage patterns upward before interview week.
Step 3: Schedule Reviews
Let spaced repetition resurface older Goldman Sachs questions in your "Due Today" queue.
Aim for 3β5 review passes per important problem.
Step 4: Mock Interview Mode
Pick 2β3 random Goldman Sachs mediums that mix arrays, math, and optimization.
Time-box each to 40β45 minutes and explain aloud as if in a real quant or SDE round.
Common Mistakes in Goldman Sachs Prep
β οΈ Mistake 1: Ignoring Math-Heavy Problems
Why it fails: Goldman Sachs leans more on math, probability, and numeric edge cases than typical big tech interviews.
Better: Mix in problems that involve fractions, precision, rounding, and numeric overflow so you are comfortable with the math layer on top of DSA.
β οΈ Mistake 2: Stopping at the First O(nΒ²) Solution
Why it fails: Finance systems care about micro-optimizations, and interviewers expect you to push toward O(n log n) or O(n) where possible.
Better: After every solution, ask "Can I precompute? Can I sort once? Can I use a hash map or prefix sum?" and propose an optimized variant, even if you do not fully implement it.
β οΈ Mistake 3: No Spaced Repetition
Why it fails: Solving 50 problems once is less useful than solving 25 problems and revisiting them 3β5 times before interview day.
Better: Use DSAPrep.dev to reschedule Goldman Sachs questions so pattern recognition and numeric reasoning stay fresh.
Conclusion: Your Goldman Sachs Interview Roadmap
Today
Add the top 5 Goldman Sachs problems above to DSAPrep.dev.
Identify whether your weaker axis is patterns (e.g., DP) or math/probability.
This Week
Solve 10β15 problems that combine arrays with math, hashing, or optimization.
For each, write down the complexity and one possible optimization even if not required.
This Month
Complete 50β70 Goldman Sachsβtagged problems across the top 7 patterns.
Run 3β4 timed mock interviews with at least one math-heavy or optimization-focused question in each.
Review every key problem at least twice using spaced repetition.
π Start Today
You will be comfortable with finance-flavored questions, confident with math-heavy logic, and fast at optimizing real-world DSA problems β exactly what Goldman Sachs looks for.