Goldman Sachs Interview Experience 2026: Analyst (Fresher)

KM
Kunal Mehra
Interview Experience
Nov 18, 2026

"You have 25 horses and a track that fits 5 at a time. No stopwatch. What's the minimum number of races to find the 3 fastest?"

I'm an ECE student. I'd prepared DSA for months, but nobody told me a Goldman Sachs interviewer would hand me a horse puzzle in the middle of a technical round. I froze for about 20 seconds. Then I started thinking out loud, and that turned out to be exactly what they wanted.

Here's my complete Goldman Sachs interview experience for the 2026 Engineering Analyst role: how a non-CS student got the interview, every round, the coding problems, the puzzles and probability questions, and how I prepared.

This story is based on patterns commonly reported by recent Goldman Sachs fresher candidates. Rounds and questions can vary by team and hiring cycle.

How I Got the Interview

I applied on the Goldman Sachs careers website for the Engineering Analyst role and also reached out to a few engineers there for a referral. Being from ECE, I made sure my resume clearly showed my coding skills: two software projects, my DSA practice and a hackathon finish. A couple of weeks later, I received the online assessment link.

Goldman Sachs Interview Process 2026 at a Glance

Round

What it tests

Online assessment

Coding problems plus MCQs on CS fundamentals and aptitude

Technical round 1

DSA problem solving

Technical round 2

DSA, CS fundamentals and a puzzle

Technical round 3

Projects, probability and problem solving

HR / fit round

Motivation, teamwork and culture fit

The technical interviews happened over a single day, back to back, in what candidates often call a "superday."

Practice

Practice this interview before the real one

Answer real interview questions out loud and get feedback on every answer from an AI interviewer.

Round 1: Online Assessment

  • Coding section: Two problems. One was an array problem using a sliding window. The other was a medium-level dynamic programming problem on strings.

  • MCQ section: Questions on data structures, OOP, DBMS, operating systems, plus some quantitative aptitude and basic probability.

Tip: Don't ignore the MCQs. They tested basics like time complexity, SQL output and process scheduling, and they can make the difference when coding scores are close.

Round 2: Technical Interview 1 (DSA)

Problem 1: Trapping rain water. Given heights of bars, find how much water is trapped after rain. I explained the brute force approach, then the prefix-max and suffix-max arrays approach, and finally the two-pointer approach with O(1) extra space.

Problem 2: Find the median from a data stream. Numbers keep arriving, and you need the median at any time. I used two heaps: a max-heap for the lower half and a min-heap for the upper half, keeping their sizes balanced.

The interviewer asked me to dry-run both solutions on examples and explain the time complexity of each operation.

Round 3: Technical Interview 2 (Fundamentals and the Puzzle)

This round started with CS fundamentals:

  • Difference between a process and a thread

  • What is normalisation? Explain 3NF.

  • Abstract class vs interface

  • Write an SQL query to find the second-highest salary.

Then came the horse puzzle.

The answer is 7 races. Race the 25 horses in 5 groups (5 races). Race the 5 group winners (race 6), and the winner is the fastest overall. For 2nd and 3rd place, only a few horses are still possible: the 2nd and 3rd from race 6, the 2nd and 3rd from the fastest horse's original group, and the 2nd from the group of race 6's runner-up. That's 5 horses, so one more race (race 7) decides 2nd and 3rd.

I didn't get it instantly. But I thought out loud, eliminated horses step by step, and the interviewer nudged me once. They told me afterwards that the reasoning mattered more than speed.

Round 4: Technical Interview 3 (Projects and Probability)

This round was with a senior engineer. It started with a deep dive into my final-year project, a real-time dashboard for sensor data. They asked why I chose WebSockets over polling, how I stored the data, and what would break with ten times more sensors.

Then came two probability questions:

Q1: If you roll two dice, what's the probability of getting at least one six?Easier to calculate the opposite. The probability of no six on both dice is (5/6) × (5/6) = 25/36, so the probability of at least one six is 1 − 25/36 = 11/36.

Q2: What's the expected number of coin tosses to get two heads in a row?I set up equations for the expected tosses from each state (no heads yet, one head so far) and solved them. The answer is 6. I didn't get the equations right on the first attempt, but explaining my setup clearly helped me fix it with one hint.

Finally, a coding question: check whether a string of brackets is balanced, followed by a variation where I had to return the minimum number of brackets to add to make it balanced.

Round 5: HR / Fit Round

  • Why Goldman Sachs, and why technology at a financial firm?

  • You're from ECE. Why software?

  • Tell me about a time you worked under pressure.

  • Describe a disagreement in a team and how you handled it.

  • Where do you see yourself in a few years?

For "Why software?", I told the story of how a microcontroller project got me hooked on writing code, and how I'd spent two years building software projects since. A genuine story worked far better than a rehearsed answer.

Result and Timeline

  • Week 1: Application and online assessment

  • Week 3: All technical and HR rounds on one day

  • About 10 days later: Offer call

As a non-CS student, it was the most rewarding call of my life.

How I Prepared

  • DSA (4 months): Around 280 problems, focused on arrays, heaps, stacks, binary search and DP. The DevsUnite DSA Sheets are a good structured starting point.

  • CS fundamentals (3 weeks): As an ECE student, this was my weakest area. I revised OOP, DBMS, OS and SQL thoroughly. Our guides on SQL interview questions and OOPs interview questions cover the essentials.

  • Puzzles and probability (2 weeks): I practised around 40 classic puzzles and revised basic probability: complements, expected value and conditional probability.

  • Mock interviews: I practised thinking out loud, which helped the most in the puzzle and probability questions. Try DevsUnite Mock Interviews.

Tips for Cracking Goldman Sachs in 2026

  • Prepare puzzles and probability. They're a signature part of the process and many candidates skip them.

  • Think out loud on puzzles. Interviewers care about your reasoning more than instant answers.

  • Don't skip CS fundamentals, especially if you're from a non-CS branch.

  • Know your projects deeply, including what would break at scale.

  • Have a genuine answer for "Why Goldman Sachs?" that connects technology and finance.

Frequently Asked Questions

What rounds are there in the Goldman Sachs fresher interview?

Candidates commonly report an online assessment with coding and MCQs, two to three technical interviews covering DSA, CS fundamentals, puzzles and probability, and an HR or fit round. The exact process can vary by role and hiring cycle.

Does Goldman Sachs ask puzzles in interviews?

Yes, puzzles and probability questions are commonly reported in Goldman Sachs technical rounds. Interviewers mainly look at how you reason through the problem, so think out loud and explain each step.

Can non-CS students get into Goldman Sachs as an engineering analyst?

Yes. Students from ECE, EEE and other branches get in by showing strong coding skills, solid CS fundamentals and good projects. Revising OOP, DBMS, OS and SQL is especially important for non-CS candidates.

What is the answer to the 25 horses puzzle?

The minimum is 7 races: 5 group races, 1 race of the group winners to find the fastest, and 1 final race among the 5 remaining candidates for 2nd and 3rd place.

How should I prepare for the Goldman Sachs online assessment?

Practise medium-level DSA problems under time limits, revise CS fundamentals for the MCQs, and brush up on quantitative aptitude and basic probability. Timed mock tests help you manage both sections.

Final Thoughts

Goldman Sachs tests more than coding. It tests how you think. Strong DSA gets you through the door, but CS fundamentals, puzzles, probability and clear communication are what get you the offer. If a non-CS student like me can do it, so can you.

👉 See more companies to target in Product-Based Companies in India Hiring Freshers, and make sure your resume is ready with the DevsUnite ATS Resume Checker.

Practice

Practice this interview before the real one

Answer real interview questions out loud and get feedback on every answer from an AI interviewer.