Goldman Sachs interview prep · updated Oct 2026

Goldman Sachs Fresher Interview Questions

Fresher 8 questions

A campus hire in engineering at an investment bank writes software for markets and deals, where prices move every moment and a small error in a figure can be costly. Prepare to apply your college fundamentals to orders, prices and trades, to explain why money needs exact arithmetic, and to tell project stories that show careful checking and a quick start in a field you had not studied. What to show here: exact work, checked twice, and curiosity about how markets function. Each question below has what the interviewer is checking, an answer frame and a sample spoken answer to adapt.

Behavioral

1. Markets do not wait for complete information. Tell me about a time in a hackathon, internship or project where you had to make a decision with a fixed clock and facts still missing.

What they are checking
Checks whether you can act sensibly under time pressure, say what you assumed, and keep the choice easy to change later.
Answer frame
  1. Describe the decision and what was missing.
  2. Explain how you chose with what you had.
  3. Show how you protected against being wrong.
  4. Share the result and what you learned.
Sample spoken answer

“In a hackathon our team had to choose how to store user data with two hours left, and we did not know how many users the demo would have. Waiting for an answer would have used up the time. I chose the simplest option, a single database file, and wrote down that it was a guess. I also kept the storage code behind one small interface, so that swapping it later would take minutes, not hours. The demo worked and the guess was fine. What I kept was the habit of naming my assumption out loud and making the choice cheap to undo.”

Red flag to avoid

Weak answers froze until every fact was known, or describe a rushed choice with no thought about how to undo it.

Behavioral

2. People who work in markets give direct feedback because time is short. Tell me about a time you received blunt criticism of your work and what you did with it.

What they are checking
Checks whether you can take hard feedback without becoming defensive, separate the useful part from the tone, and act on it.
Answer frame
  1. Describe the work and the feedback you got.
  2. Explain how you reacted at the time.
  3. Show what you changed because of it.
  4. Share what you learned about taking feedback.
Sample spoken answer

“During my internship I presented a small analysis tool to a manager, and in the first minute she said the output was unreadable and she would not use it. It stung. I asked her to show me the first thing she looked for, and she pointed at a total buried at the bottom of the screen. I said I would come back the next day. I moved the totals to the top, cut the columns she never used, and returned. She used it from then on, and your result. I learned to ask what the person needs first, before the criticism becomes an argument.”

Red flag to avoid

Weak answers argue that the critic was wrong, or describe changing nothing because the feedback was rude.

Technical

3. An exchange keeps a list of buy orders and sell orders for one share and must always know the best price on each side. Which data structures would you use, and why?

What they are checking
Checks knowledge of heaps, sorted maps and queues, and whether you think about adding, cancelling and matching orders, not only reading the best price.
Answer frame
  1. Say what operations are needed: add, cancel, find best, match.
  2. Choose a structure sorted by price for each side.
  3. Keep time order within the same price.
  4. Give the cost of each operation.
Sample spoken answer

“I need to add orders, cancel them, read the best price and match. For each side I would keep a map sorted by price, so the highest buy and the lowest sell are found quickly. At each price there is a queue, because orders at the same price are served in the order they arrived. To cancel quickly, I would also keep a hash table from order id to its place in the queue. A heap gives the best price fast too, but removing a cancelled order from the middle of a heap is awkward, so I prefer the sorted map.”

Red flag to avoid

Weak answers use one unsorted list and scan it each time, or forget that orders are often cancelled.

Technical

4. Why is it a bad idea to store prices and cash amounts in ordinary floating point variables, and what would you use instead?

What they are checking
Checks that you understand how binary floating point represents decimals and know a safe way to hold money.
Answer frame
  1. Explain that many decimal fractions have no exact binary form.
  2. Show how small errors build up or break comparisons.
  3. Offer integers in the smallest unit or a decimal type.
  4. Mention rounding rules.
Sample spoken answer

“Floating point stores numbers in binary, and many simple decimals, like one tenth, cannot be written exactly that way. Each value is very slightly off. Add up many of them and the total drifts, and two amounts that should be equal can fail an equality check. For money I would store whole numbers of the smallest unit, such as cents, or use a decimal type that keeps exact decimal digits. I would also state the rounding rule clearly wherever division happens, such as splitting an amount among accounts, so the parts always add back to the whole.”

Red flag to avoid

Weak answers say floating point is fine if you round when printing, or cannot explain where the error comes from.

Technical

5. You are given the price of one share at each minute of a trading day. How would you find the best single moment to buy and the best later moment to sell, in one pass through the data?

What they are checking
Checks that you can move from a slow all-pairs idea to a single pass, and explain why it is correct.
Answer frame
  1. State the slow method of trying every pair.
  2. Notice you only need the lowest price seen so far.
  3. Walk through once, updating the lowest price and best gain.
  4. Cover edge cases such as a price that only falls.
Sample spoken answer

“The slow way compares every buy time with every later sell time, which grows with the square of the number of prices. The better way is one pass. As I walk through the prices, I remember the lowest price seen so far. At each new price, I work out the gain if I had bought at that lowest price and sold now, and keep the best gain. Then I update the lowest price if the current one is lower. If prices only fall all day, the best gain is zero and the answer is not to trade. Memory use stays constant.”

Red flag to avoid

Weak answers pick the lowest and highest prices of the day without checking that the low comes first.

Technical

6. You have several years of daily price changes for one share. How would you write code that estimates how large a one-day loss could be on a rare bad day?

What they are checking
Checks basic statistics in code: sorting, percentiles and honest limits, applied to the kind of question risk teams ask.
Answer frame
  1. Turn prices into daily percentage changes.
  2. Sort the changes from worst to best.
  3. Pick the value at a chosen rank, such as the worst day in a hundred.
  4. Say what this method misses.
Sample spoken answer

“I would first turn the prices into a list of daily changes, each as the change divided by the previous day's price. Then I would sort those changes from worst to best. If the question is the loss on a bad day that happens about once in a hundred days, I take the value at that rank in the sorted list. That needs one sort, which is quick even for years of data. I would be honest about the limit: the answer only describes the past, and a day worse than anything in the history can still happen. I would also check the list for missing days or data errors first.”

Red flag to avoid

Weak answers use the average change, which says nothing about bad days, or forget that history is not a guarantee.

Scenario

7. A few months into the job, you find a bug in code you wrote that may have put a wrong figure into a report a trading desk already used this morning. What do you do?

What they are checking
Checks honesty and speed in raising a possible error with money at stake, and a calm method for measuring its size.
Answer frame
  1. Tell your manager at once, with what you know and do not know.
  2. Work out which figures and which days are affected.
  3. Help correct the report and inform its users.
  4. Fix the bug and add a check.
Sample spoken answer

“I would tell my manager immediately, even before I am sure. I would say what the bug is, which report it touches and that I do not yet know the size. People may be making decisions on that figure, so an hour matters. Then I would run the corrected calculation beside the old one, to see which figures changed and on which days. My manager and the desk decide how to correct and inform the report's users. After that I would fix the code, add a test for this case and suggest a daily comparison against a separate source.”

Red flag to avoid

Weak answers wait until they have a fix ready before telling anyone, or decide alone that the error is too small to mention.

Why this company

8. Why do you want to start your engineering career in investment banking and markets, and why Goldman Sachs?

What they are checking
Checks that you know what the firm does and are drawn to the engineering problems of markets, not to status.
Answer frame
  1. Say which problems in markets interest you.
  2. Connect them to what you enjoyed in your studies.
  3. Show you understand what the firm does.
  4. Say what you want to learn first.
Sample spoken answer

“I enjoy problems where correctness and speed both matter, and markets have both. A price feed never waits, and a trade record must be exactly right. Goldman Sachs advises companies on deals and trades in markets for its clients, so engineers there work close to the business and not far behind it. In college I liked my algorithms and database courses most, and these problems use both. I do not know finance deeply yet, and I see that as something to learn. I would like to begin by understanding how one trade moves from order to settlement.”

Red flag to avoid

Weak answers speak about prestige or reward and cannot describe what the firm does.

Salary questions come last

No figures on this page: pay depends on the level, the city and the offer in front of you. When the offer comes, the free salary negotiation script helps with that part.

For the call itself

The questions above are the prep. On the real call, ClapAssist helps with the ones you did not practice.

ClapAssist is an AI interview assistant for Mac and Windows. It listens to the interview on your computer and shows you what to say, in short lines you can read while you talk. Your live interview audio and screen are never stored. Your resume and notes are saved to your account so the app fills them in on any computer. It is hidden from screen share on every plan, including Free; only you can see it.

Download with 10 free minutes
Mac and Windows · Stays out of screen share · No card