Goldman Sachs interview questions

8 distinct questions from 1 interview write-up at Goldman Sachs, grouped by round. Questions other students were asked again rank first.

Online assessment round questions (2)

  • Find the maximum sum subarray (Kadane's algorithm).
  • Probability: two dice are rolled; what is the chance the sum is at least 10?

Technical round questions (5)

  • Design a stack that returns the minimum element in O(1).
  • Find the first non-repeating character in a stream.
  • Write an SQL query for the second highest salary in a table.
  • You have 2 eggs and a 100-floor building. Find the minimum drops to find the highest safe floor.
  • Explain polymorphism and the difference between overloading and overriding.

HR round questions (1)

  • Why Goldman Sachs, and why engineering in finance?

Share one interview experience, salary or review to read every experience in full. Share your interview experience