Goldman Sachs Java Backend Developer Interview Experience

Java Backend Developer

May 28, 2026
10 Questions
Selected

Summary

AI Powered

The Goldman Sachs interview process consisted of five rounds encompassing a variety of technical and behavioral questions. Candidates should anticipate coding challenges on algorithms and data structures in the initial rounds, progressing to system design and Java concept discussions in later stages. The overall difficulty of the interview appears to be medium, making it a rigorous assessment of both technical expertise and cultural fit for prospective candidates.

1

Round 1

#1

Validate Custom Expression

Determine if the custom expression containing `{`, `}`, and `*` is balanced. The `*` can act as `{`, `}`, or represent empty.
Stack
Expression Validation
Balanced Strings
Medium
#2

Top-k Most Frequent Words

Return the top-k most frequent words from a list, sorted by frequency and then by lexicographical order.
Hashmap
Sorting
Frequency Analysis
Medium
2

Round 2

#1

Reverse Linked List in Pairs

Given a linked list `1 → 2 → 3 → 4 → 5`, reverse the nodes in pairs to obtain `2 → 1 → 4 → 3 → 5`.
Linked List
Java
Pairwise Reversal
Medium
#2

Java Concepts Discussion

Discuss the differences between `==` vs `equals()`, HashMap internals, collision handling in Java 8+, load factor reasoning, Java Memory Model, and thread safety/concurrency.
Java
Memory Management
Hashmap
Medium
3

Round 3

#1

Design a Rate Limiter

Design a rate limiter that allows a maximum of 5 requests per user per minute. Describe your approach.
System Design
Rate Limiter
Api Design
Medium
#2

Spring Boot Deep Dive

Explain the differences between `@Component`, `@Service`, and `@Repository` in Spring Boot, and discuss bean scopes/lifecycle, Spring Boot startup flow, and `@Transactional` internals and pitfalls.
Java
Dependencyinjection
Spring Boot
Medium
4

Round 4

#1

SQL Query Optimization

Discuss techniques for SQL query optimization, including the use of indexing, utilizing `EXPLAIN`, avoiding `SELECT *`, denormalization, and analyzing slow query logs.
Database
Sql
Query Optimization
Medium
#2

API Gateway Authentication and Security

Explain the key concepts of API Gateway authentication and security, including OAuth vs JWT, token expiration, JWT invalidation, and refresh token flows.
Jwt
Oauth
Api Security
Medium
5

Round 5

#1

Interest in Goldman Sachs

Why do you want to work at Goldman Sachs, and what interests you about the company?
Career Motivation
Company Research
Easy
#2

Handling Pressure and Career Growth

Discuss your strategies for handling pressure, working with global teams, and your long-term career growth plans.
Behavioral
Teamwork
Career
Medium
A

Anonymous

Anonymous User

AI Powered

Share Your Story

Share your interview in your own words — our AI handles the rest. Hardly takes 2 minutes.

Mock Interviews & 1:1 Guidance

Practice mock interviews or book a 1:1 call for career guidance, resume reviews, and more.

AI Interview Prep

AI interview prep powered by real interview data.

Show Your Love!

Connect with us on social media

Goldman Sachs Java Backend Developer Interview Experience | InterviewRecap