Goldman Sachs software engineer interview questions and process

Goldman Sachs software engineer interview questions typically test algorithms and data structures, some quantitative reasoning, language depth in Java or another language you list, design for experienced candidates, and behavioral questions about teamwork, integrity and clients. Campus applicants often report an online coding test and, for some programs, a recorded video interview before a final day of several interviews, while lateral hires usually go through coding and team interviews.

By Published 4 min read

Paths into Goldman Sachs engineering

Goldman Sachs hires engineers into many divisions, and the interview you get depends on whether you apply to a student program or a lateral role, and on the team. The firm does not publish one engineering interview script. What follows is the shape candidates describe most often; check every step against your recruiter's instructions.

  • Online coding test (campus, often). A timed set of algorithm problems solved alone. Many candidates name HackerRank as the platform.
  • Recorded video interview (some programs). One-way recorded answers to behavioral prompts, commonly reported on HireVue.
  • Technical phone or video interview. Live coding in a shared editor with an engineer, plus questions about your résumé.
  • Final round. Candidates commonly call it a Superday: several back-to-back interviews mixing coding, technical discussion, design for experienced hires, and behavioral questions.
  • Lateral hires. Usually a recruiter call, coding interviews and conversations with the team and manager, with design weighted more heavily at senior levels.

What Goldman Sachs interviewers tend to probe

Goldman Sachs publishes its business principles and values on its website; read them before your interviews. Themes such as serving clients well, integrity, care with details and teamwork tend to come up in candidates' accounts; that is our summary, not the firm's list. Technically, the firm's systems handle trading, risk, asset management and consumer products, where a wrong number has real consequences. Expect questions that reward precision, testing and an honest account of trade-offs.

Coding questions by topic

Arrays, strings and hashing

Warm-up and assessment-style problems
QuestionWhat it testsWhat a strong answer shows
Return the first non-repeating character in a string.Counting.Two passes with a count map, or one pass with an ordered map, and the empty-result case.
Given daily stock prices, return for each day how many days until a higher price.Monotonic stack.A stack of indexes and a linear-time argument.
Group a list of words into anagram sets.Hash keys.A sorted-letters or letter-count key, and the cost of each choice.
Given a list of trade records, remove duplicates that share an ID while keeping the latest version of each.Hashing with ordering.A map from ID to the newest record by timestamp, and output order stated up front.
Find the smallest subarray whose sum is at least a target.Sliding window.Expanding and shrinking correctly when all values are positive, and what breaks with negatives.
Warm-up and assessment-style problems. Scroll sideways on a small screen.

Dynamic programming, trees and graphs

Harder problems commonly reported in later rounds
QuestionWhat it testsWhat a strong answer shows
Count the ways to make change for an amount using given coin values.Dynamic programming.A one-dimensional table, loop order that avoids counting permutations, and a hand-checked small case.
Find the minimum path sum from the top-left to the bottom-right of a grid.Grid DP.A recurrence, in-place or rolling-row storage and boundary handling.
Return the lowest common ancestor of two nodes in a binary tree.Recursion on trees.A post-order search that returns early and handles a node being its own ancestor.
Given currency exchange rates, detect whether an arbitrage cycle exists.Graph algorithms.Negative logs of rates turning products into sums, then Bellman-Ford to find a negative cycle.
Serialize and deserialize a binary tree.Traversal design.A traversal with null markers and a parser that mirrors it exactly.
Harder problems commonly reported in later rounds. Scroll sideways on a small screen.

Quantitative reasoning questions

Not every engineering interview includes these, but some candidates report one, especially for teams close to trading or risk. Interviewers care more about how you set up the problem than about speed.

Probability and estimation prompts
QuestionWhat it testsWhat a strong answer shows
You roll two dice. What is the probability that the sum is at least ten?Basic probability.Counting favorable outcomes (six of thirty-six) and stating the result clearly.
Estimate how many trades a large exchange processes in a day.Estimation.Stated assumptions, rough arithmetic and a sanity check against another angle.
How would you generate a random number from one to seven using a fair function that returns one to five?Rejection sampling.Combining two calls into twenty-five outcomes and rejecting the extras, with the expected number of calls.
A process fails one time in a thousand. If it runs five hundred times a day, about how often do you see at least one failure?Complements.One minus the chance of no failures, and a quick approximation.
Probability and estimation prompts. Scroll sideways on a small screen.

Language, concurrency and design questions

Technical depth for experienced candidates
QuestionWhat it testsWhat a strong answer shows
How does garbage collection work in the JVM, and what would you check if a service has long pauses?Runtime knowledge.Generations, collectors and evidence-led tuning from GC logs.
What is the difference between synchronized blocks and the classes in java.util.concurrent?Concurrency tools.Intrinsic locks versus explicit locks, atomics and concurrent collections, with a use for each.
Design a service that calculates portfolio risk overnight and serves results in the morning.Batch design.Partitioned computation, checkpoints, a validation step and a clear plan when the run is late.
Design a market data cache that many applications read and a few feeds update.Read-heavy systems.Immutable snapshots, versioning and how readers avoid half-updated data.
How would you test a pricing function whose output feeds client reports?Testing discipline.Unit tests on known cases, property tests on invariants and a regression set from real past inputs.
Technical depth for experienced candidates. Scroll sideways on a small screen.

Behavioral questions and how to approach them

Behavioral questions in Goldman Sachs engineering interviews
QuestionWhat it testsWhat a strong answer shows
Why Goldman Sachs, and why engineering here?Motivation.A specific interest, such as systems where precision matters or a business area you have studied, connected to work you have already done.
Tell me about a time you made a mistake in your work.Accountability.A real error with a cost, raised quickly, and the check you added so it cannot recur.
Describe a time you worked with someone whose style differed from yours.Teamwork.What you adjusted and what the work gained from the difference.
Tell me about a situation where doing the right thing was inconvenient.Integrity.A genuine tension and the proper channel you used to resolve it.
Describe a project where a user or client changed what you built.Client focus.You listened, adapted and kept quality high despite the change.
What is the most complex thing on your résumé, explained simply?Real understanding.A clear, jargon-light explanation that holds up when the interviewer asks a follow-up.
Behavioral questions in Goldman Sachs engineering interviews. Scroll sideways on a small screen.

Fictional example

Setting up a dynamic programming answer aloud
Interviewer
How many ways can you make an amount from a list of coin values, using each value as often as you like?
Candidate
I will keep an array where entry a is the number of ways to make amount a. Entry zero is one, the empty combination.
Candidate
I loop over coins in the outer loop and amounts in the inner loop, adding ways[a minus coin] to ways[a]. Putting coins outside means each combination is counted once, regardless of order.
Interviewer
What if you swap the loops?
Candidate
Then I would count orderings separately, so one-then-two and two-then-one become two ways. That answers a different question. Let me check amount four with coins one and two: I expect three ways, and the table gives three.

A three-week practice plan

  1. Week 1: assessment speedTimed sets of two problems in ninety minutes on arrays, strings and hashing, solved without hints, to simulate an online test.
  2. Week 2: depthDynamic programming and graph problems daily, plus four probability or estimation questions talked through aloud.
  3. Week 3: final-round rehearsalLanguage and concurrency answers, one design prompt, six behavioral stories, and a mock day of three interviews in a row.

For a comparable bank process, read the JPMorgan software engineer guide. The Databricks guide goes deeper on concurrency and data scale, and our post on whether HireVue can detect AI covers recorded interviews.

Practice is where Natively earns its place. It transcribes a mock interview on your computer while it happens, so you can read back whether you explained the dynamic programming state before coding it. Screenshot a practice problem and it reads the text and can offer an approach to compare with your own after you have tried. With your résumé and the job description loaded (Pro or the free trial), it suggests behavioral answers built from your real projects, and the transcript and notes stay for review. See an AI interview assistant.

Questions people ask

What coding questions does Goldman Sachs ask software engineers?

Arrays, strings and hashing in early rounds, then dynamic programming, trees and graphs in later ones. Experienced candidates may also get JVM, concurrency and design questions.

What is the Goldman Sachs engineering interview process?

Campus applicants often report an online coding test, a recorded video interview for some programs and a final day of several interviews, often called a Superday. Lateral hires usually have coding and team interviews. Your recruiter confirms the steps.

Does Goldman Sachs ask probability questions in engineering interviews?

Some candidates mention a probability or estimation question, especially for teams near trading or risk. Interviewers look for clear setup and reasoning more than speed.

How do I prepare for a Goldman Sachs Superday as an engineer?

Practice timed coding, dynamic programming and graph problems, a few probability questions, language and concurrency basics, and six true behavioral stories, then run a mock day of interviews back to back.

Where to go next

Practice with the same assistant you would use on a call: it listens, transcribes and suggests answers from your own resume and the job description.

Facts on this page were last checked on . Product details come from the Natively app itself; if something here is out of date, tell us at hello@heynatively.com.

Keep reading

Put it on your own machine.

A live-conversation assistant that runs locally. Your conversations stay on your machine.

macOS 12+ · Windows 10/11

© 2026 Natively AI Private Limited

Source-available under the Natively Personal Use Source License v1.0 · IP geolocation by DB-IP