11 Goldman Sachs Software Engineer (New Grad) Interview Questions (2026)
Goldman Sachs's new-grad SWE loop in 2026 is a HireVue, a HackerRank coding test, and a virtual superday with two technical rounds plus one behavioral. The Engineering division spans Platforms, Asset & Wealth Management, Global Markets, and Securities — but the bar is consistent: clean Java, solid data structures, and the ability to think about financial systems with the rigor a regulated firm demands.
By Alex Chen, Founder, InterviewChamp.AI · Last verified
Loop overview
New-grad candidates report a 6-10 week timeline in 2026. HireVue first (3-5 behavioral prompts), then HackerRank (2 problems, 90 minutes). Superday: two 45-minute technical rounds (one pure algorithms, one mix of design and code), one 30-minute behavioral. Engineering at Goldman Sachs has historically used a proprietary language called Slang sitting on top of SecDB (the firm's securities database) — most teams now run on standard stacks (Java, Python, Kotlin), but Strats roles still touch the proprietary stack.
Behavioral (4)
Tell me about a project where you had ownership end-to-end.
Frequently askedOutline
STAR. Goldman Sachs's culture emphasizes ownership and accountability. Pick a project where you scoped, built, and shipped — bonus if you can talk about the post-launch (debugging, performance tuning, user feedback). Avoid 'someone else owned the design' framings.
Why Goldman Sachs?
Frequently askedOutline
Specific reasons: Engineering is treated as a profit center, the cross-divisional rotation experience, exposure to markets and asset management. Mention any engineering org talks you've watched or open-source projects from Goldman's GS Open Source program. Avoid the generic 'prestige' answer.
Tell me about a time you had to work under pressure.
Frequently askedOutline
STAR. Goldman Sachs has a culture of long hours and high-stakes work. Show you can deliver without burning out the team. Be specific: deadline, stakes, what you did, what you learned about your own limits.
Describe a time you mentored or helped a teammate.
Frequently askedOutline
STAR. Goldman Sachs's Engineering culture values knowledge-sharing across teams. Pick a concrete moment — code review, debugging a stuck teammate, walking through a system. Show what you taught and what you learned.
Coding (LeetCode patterns) (4)
Implement merge sort.
Frequently askedOutline
Divide-and-conquer. Recursively split until length 1, merge sorted halves. O(N log N) time, O(N) space. Be ready to discuss in-place variants and when merge sort beats quicksort (linked lists, stable sort requirement).
Given a binary tree, return its right-side view (the nodes visible from the right).
Frequently askedOutline
BFS level-by-level, take the last node of each level. Or DFS prioritizing right children, record first node seen per depth. O(N) time, O(H) or O(W) space. Edge case: empty tree returns empty list.
Implement a stack that also supports finding the minimum element in O(1) time.
Occasionally askedOutline
Auxiliary stack tracking the minimum at each level. Push: push to main, push min(top, x) to aux. Pop: pop both. Min: peek aux. O(1) per operation. Discuss the O(1)-space optimization (encode delta from min).
Given two strings, return their longest common substring.
Occasionally askedOutline
Dynamic programming. dp[i][j] = length of LCS ending at s1[i-1], s2[j-1]. If s1[i-1] == s2[j-1], dp[i][j] = dp[i-1][j-1] + 1, else 0. Track max along the way. O(MN) time, O(MN) space (or O(min(M,N)) with rolling).
Technical (3)
Given a list of (price, quantity) trades, compute the volume-weighted average price (VWAP).
Frequently askedOutline
VWAP = sum(price * quantity) / sum(quantity). Single pass, two running totals. O(N) time, O(1) space. Mention division-by-zero guard. Be ready for streaming variant (windowed VWAP) and for the interview follow-up: why does VWAP matter as a trading benchmark.
Write a SQL query to find employees who earn more than their managers.
Frequently askedOutline
Self-join on employee.manager_id = manager.employee_id, filter where employee.salary > manager.salary. Show the join syntax cleanly. Be ready for a variant using window functions if the schema has departments.
What's the difference between abstract classes and interfaces in Java?
Occasionally askedOutline
Abstract class can have state and partial implementation; single-inheritance. Interface is a contract; multiple-implementation. Java 8+ added default methods to interfaces, blurring the line. Use abstract class when you have shared state, interface when you have a behavior contract.
Goldman Sachs interview tips
- Java is the dominant language in Engineering. Even if you code in Python on the HackerRank, expect Java questions in the superday.
- SQL fluency is expected. Goldman Sachs's data layer (SecDB and modern Postgres deployments) makes SQL non-optional.
- Behavioral rounds matter — Goldman Sachs has a strong culture and screens for fit aggressively.
- Read up on the Engineering division's organization (Platforms, Asset & Wealth Management, Global Markets, Securities). Knowing where you'd want to land helps.
- Compensation per Levels.fyi 2026 is competitive with top-tier tech. Equity is in restricted shares, not RSUs.
Frequently asked questions
How long is Goldman Sachs's SWE new-grad interview process in 2026?
Most reports show 6-10 weeks from HireVue invitation to offer.
What language should I use on Goldman Sachs's HackerRank?
Java is preferred. Python is accepted but expect Java questions in the superday.
What is the difference between Strats and core SWE at Goldman Sachs?
Strats are quant-adjacent engineers embedded with trading desks. They touch the proprietary stack more. Core SWE roles are on more standard stacks and broader division coverage.
Does Goldman Sachs sponsor visas for new-grad SWE?
Goldman Sachs has historically sponsored H-1B and OPT for US-based roles. Confirm with your recruiter for 2026.
What are Goldman Sachs's Business Principles?
Client focus, integrity, leadership, teamwork, partnership, accountability. Behavioral rounds reference these directly.
Practice these live with InterviewChamp.AI
Real-time AI interview assistant that listens to your loop and helps you structure answers under pressure.
Practice these live with InterviewChamp.AI →