Goldman Sachs interview questions

Software engineer (Engineering division)

Coding

  1. Trapping Rain Water (LeetCode 42)
  2. LRU Cache (LeetCode 146)
  3. High Five (LeetCode 1086)
  4. Implement Queue using Stacks (LeetCode 232)
  5. Intersection of Two Linked Lists (LeetCode 160)
  6. Domino and Tromino Tiling (LeetCode 790)
  7. Fraction to Recurring Decimal (LeetCode 166)
  8. First Unique Character in a String (LeetCode 387)
  9. Make Lexicographically Smallest Array by Swapping Elements (LeetCode 2948)
  10. Smallest String With Swaps (LeetCode 1202)
  11. Design HashMap (LeetCode 706)
  12. Find the Winner of an Array Game (LeetCode 1535)
  13. Count transaction segments (strictly increasing runs) in an array
  14. Parse a log file and return the most frequent IP addresses
  15. Find the root of the largest tree in a child-to-parent forest
  16. Maximum number of elements whose sum stays below k, and their sum
  17. Merge two sorted arrays
  18. Count occurrences of each number in a series
  19. All permutations of a string
  20. Find the missing number in an array of 1 to 100
  21. Find the nth node from the end of a linked list in one pass
  22. Add up the numbers embedded in a string
  23. Angle between the hour and minute hands of a clock

System design

  1. Design a real-time trade processing system
  2. Design a distributed message queue
  3. Design the backend for a high-traffic flash sale
  4. Design a web scraping engine
  5. Design Git
  6. Design LinkedIn
  7. Design Ticketmaster
  8. Design a ride-sharing service
  9. Design a real-time chat application end to end
  10. Model a banking system with customers, accounts and credit cards
  11. Design a payment module with the Strategy pattern
  12. Design Splitwise

What Goldman Sachs looks for

  • Client service — Earn clients' trust by understanding their goals and doing more than they expect.
  • Partnership — Collaboration and teamwork come first, in a culture where people grow together.
  • Integrity — Hold yourself to the highest ethical standards, be transparent and learn from experience.
  • Excellence — Aim for exceptional performance and results for clients, shareholders and communities.
  • Business Principles — Fourteen principles written in 1979 that still define the culture; the firm asks candidates to read them before interviewing.

Behavioral questions

  1. Why Goldman Sachs?
  2. Why Goldman over a pure technology company?
  3. Why do you think you are a good fit for this job?
  4. Why do you want a career in software engineering?
  5. Tell me about yourself.
  6. Tell me about your past projects.
  7. Tell me about the most challenging situation in your career and how you handled it.
  8. Tell me about a time you solved a high-pressure technical problem.
  9. Walk me through one line of your resume in depth: the architecture, what went wrong and the measurable result.

The loop

  1. HackerRank assessment: Everyone takes a Software Fundamentals challenge of data-structure and algorithm problems; engineering applicants also take a Software Diagnostics challenge, fixing issues in an existing Django, Node.js or Spring Boot app with a limited AI assistant. Some candidates get a recorded HireVue video screen instead or as well.
  2. Recruiter or hiring manager screen: A short call on your resume, your experience and why Goldman Sachs.
  3. CoderPad technical screen: 45 to 60 minutes of live coding with one or more engineers on data-structure and algorithm puzzles, in a language you choose; they judge problem solving, code quality, reading and writing code, and communication.
  4. Superday: Several interviews of 30 to 60 minutes with people from the hiring group, one-on-one or in pairs, covering coding, system design, software development practices and behavioral questions.
  5. Team fit and senior round: Candidates report one or two team interviews on the tech stack and fit, and a short conversation with a managing director.

Tips

  • Explain your thinking and be ready to justify your choices; aim for an optimal solution, not just one that works.
  • Know at least one language in depth (C/C++, Java, Python or JavaScript), and be ready for object-oriented design, multithreading, testing and edge cases.
  • For the Software Diagnostics challenge, practice reading unfamiliar code, debugging, writing tests and making targeted changes, and use the AI assistant the way you would at work.
  • Try CoderPad's demo beforehand, treat the session as a collaboration and take the interviewer's hints; do not look up or share the questions.
  • Read the Business Principles and core values, and tie your STAR stories to them.
  • Keep your camera on for the whole virtual interview and prepare questions for every stage.

Sources

  1. Our Purpose and Values — Goldman Sachs
  2. Interview Preparation — Goldman Sachs Careers
  3. Your Guide to HackerRank Success — Goldman Sachs Careers
  4. Goldman Sachs's Interview Process — TechPrep
  5. Get a Job at Goldman Sachs: Interview Process and Top Questions — Aced (Exponent)
  6. Goldman Sachs Software Engineer Interview Guide — Prepfully
  7. Goldman Sachs Coding & Algorithms Interview Questions — PracHub

Other companies

Start free on Cariara · Coding problems · System design studio