an HCL GUVI product

Interview Questions

Goldman Sachs Interview Questions 2026

Preparing for the Goldman Sachs interview requires a strong foundation in data structures and algorithms, system design fundamentals, and clear communication skills. The Goldman Sachs technical interview process for engineering freshers is intensive, with multiple rounds emphasizing live coding on CoderPad. Scroll down to practice the latest Goldman Sachs Interview Questions. Goldman Sachs conducts structured technical and HR interviews as part of its fresher recruitment process.

Goldman Sachs Interview Process - Quick Overview

The interview stage at Goldman Sachs is designed to provide a thorough assessment of a candidate's technical depth, problem-solving ability, and cultural fit. The process evaluates not only coding proficiency but also the ability to think through complex problems and communicate solutions clearly.

The interview process typically consists of 2-3 technical rounds and 1 managerial/HR round, with each round lasting 45-60 minutes. Technical interviews are conducted on CoderPad with live coding. The overall emphasis is approximately 70% DSA, 20% puzzles, and 10% language-specific and project-related questions.

1. Technical Interview Round 1:

 

The first technical interview focuses on data structures, algorithms, and resume-based project discussions. Candidates are asked to solve 1-2 DSA problems on CoderPad while explaining their approach, time complexity, and space complexity. Questions are typically LeetCode Medium level.

2. Technical Interview Round 2:

 

The second technical interview involves harder DSA problems, often including dynamic programming, graphs, and tree-based questions. System design concepts may also be introduced at a basic level. This round typically includes follow-up questions to optimize solutions.

3. Technical Interview Round 3 (If Applicable):

 

Some candidates face a third technical round with advanced coding questions or a deeper system design discussion. This round is more common for experienced hires but may appear for strong fresher candidates as well.

4. Managerial / HR Interview:

 

The final round evaluates cultural fit, motivation, career goals, and behavioral traits. It is conducted by a senior manager or HR representative and includes questions about Goldman Sachs' values and the candidate's long-term commitment.

Goldman Sachs Interview Questions - Technical Round

For a Goldman Sachs technical interview, start by mastering data structures and algorithms - this is the core of every technical round. Be prepared to solve problems live on CoderPad, explaining your approach from brute force to optimized solution while discussing time and space complexity at each step.

Strengthen your understanding of dynamic programming, graph algorithms, tree traversals, and advanced data structures like segment trees and tries. Review system design basics including scalability, load balancing, and database design. Familiarize yourself with CS fundamentals covering OOP, DBMS, and operating systems, as these may appear as supplementary questions between coding problems.

Topic 1: General Technical Questions

What to Expect: Interviewers begin with introductions and resume-based discussions. They assess your technical background, project experience, and the reasoning behind your technology choices. This is followed by coding problems on CoderPad.

Sample Questions

1. Introduce yourself and walk us through your technical background.

2. Explain your most significant project, including the architecture and technology stack.

3. What was the most challenging technical problem you solved in a project and how did you approach it?

4. What was your specific contribution in your team project?

5. Why did you choose the particular technology or framework for your project?

6. How would you design the system architecture if you were to rebuild your project from scratch?

7. What is your relationship with programming - why do you do it and what interests you about it?

How to Approach

  • Master Your Projects: Know every detail of your resume projects - objectives, architecture, tech stack, challenges, and outcomes. Goldman Sachs interviewers ask deep follow-up questions on projects.
  • Prepare a Structured Self-Introduction: Develop a concise 1-2 minute introduction covering education, skills, key projects, and career interests.
  • Think Aloud: Goldman Sachs values candidates who explain their thought process. Start with brute force, discuss complexity, then optimize.
  • Know Your Preferred Language Well: Be proficient in Java, Python, or C++. Know the standard libraries, collections framework, and language-specific nuances.
  • Be Ready for Follow-ups: Every answer may lead to deeper questions. Prepare to defend your design decisions and explain alternatives.
  • Practice on CoderPad: Goldman Sachs uses CoderPad for live coding. Practice coding in a shared editor environment without IDE auto-complete.

Topic 2: Data Structures and Algorithms

What to Expect: DSA forms approximately 70% of Goldman Sachs technical interviews. Candidates are asked to solve 1-2 problems per round on CoderPad, starting from brute force and progressing to optimized solutions. Expect LeetCode Medium-Hard level questions with follow-up optimization.

Sample Questions

1. Find the first unique character in a string.

2. Solve the Trapping Rainwater problem.

3. Find the maximum sum path in a matrix from top-left to bottom-right.

4. Find the median of two sorted arrays.

5. Implement a Vector (dynamic array) from scratch with get(), add(), remove(), and size() operations.

6. Reduce a string by removing K consecutive identical characters.

7. Merge K sorted linked lists.

8. Solve the subset sum problem using dynamic programming.

9. Detect a cycle in a directed graph.

10. Implement in-order, pre-order, and post-order tree traversals.

11. Insert a node into a Binary Search Tree and explain the time complexity.

12. Find the longest common subsequence of two strings.

How to Approach

  • Master Core Data Structures: Be thoroughly proficient with arrays, linked lists, stacks, queues, trees (BST, binary trees), graphs, hash maps, heaps, and tries.
  • Practice Dynamic Programming: DP is heavily tested at Goldman Sachs. Master common patterns - knapsack, longest subsequence, matrix path problems, and subset problems.
  • Study Graph Algorithms: Know BFS, DFS, cycle detection, shortest path algorithms, and topological sorting.
  • Always Discuss Complexity: For every solution, explain time and space complexity. Goldman Sachs interviewers expect this at every step.
  • Start Brute Force, Then Optimize: Begin with the simplest working solution, then progressively optimize. This demonstrates structured thinking.
  • Practice on LeetCode and HackerRank: Focus on Medium-Hard problems. Goldman Sachs coding questions are consistently at this difficulty level.

Topic 3: Database and SQL

What to Expect: Database questions appear as supplementary topics during technical interviews. Candidates are expected to write SQL queries and explain fundamental database concepts. These questions are less frequent than DSA but may appear in any interview round.

Sample Questions

1. What are ACID properties in a database? Explain each property.

2. Write an SQL query to find the second highest salary from an Employee table.

3. What is normalization? Explain 1NF, 2NF, and 3NF.

4. What are the different types of SQL joins? Explain with examples.

5. What is the difference between a clustered index and a non-clustered index?

6. What is the difference between DELETE, TRUNCATE, and DROP?

7. Write an SQL query to find employees who earn more than their managers.

8. Explain database transactions and how they maintain data integrity.

How to Approach

  • Review SQL Fundamentals: Know SELECT, INSERT, UPDATE, DELETE, joins, subqueries, and aggregation functions.
  • Understand ACID Properties: Be able to explain Atomicity, Consistency, Isolation, and Durability with examples.
  • Practice Normalization: Understand 1NF, 2NF, 3NF, and BCNF with concrete examples.
  • Write Complex Queries: Practice writing queries involving self-joins, window functions, and nested subqueries.
  • Study Indexing: Understand how indexes work, types of indexes, and their impact on query performance.
  • Connect to Projects: Be ready to discuss how you used databases in your academic projects.

Topic 4: System Design (Basic Level)

What to Expect: System design questions may appear in the second or third technical interview round. For freshers, these are introductory-level questions focusing on scalability concepts, basic architecture, and design trade-offs rather than full-scale system design.

Sample Questions

1. How would you design a URL shortening service?

2. What is the difference between horizontal and vertical scaling?

3. What is load balancing and why is it important?

4. Explain the concept of database sharding.

5. What is a microservices architecture? How is it different from monolithic?

6. How would you scale a system to handle millions of requests per second?

7. What is caching and when would you use it?

8. Design a basic stock price tracking system.

How to Approach

  • Learn Core Concepts: Understand load balancing, caching, database sharding, replication, and message queues.
  • Study Architecture Patterns: Know microservices vs monolithic, event-driven architecture, and client-server models.
  • Think About Trade-offs: Goldman Sachs values candidates who can discuss trade-offs between consistency, availability, and partition tolerance (CAP theorem).
  • Practice Structured Answers: Use a systematic approach - requirements gathering, high-level design, component breakdown, and scaling considerations.
  • Relate to Finance: Given Goldman Sachs' domain, understanding basic concepts around real-time data processing and low-latency systems is beneficial.
  • Keep It Simple for Freshers: Focus on demonstrating awareness of scalability concepts rather than detailed distributed systems knowledge.

Topic 5: Computer Science Fundamentals

What to Expect: CS fundamental questions appear as supplementary topics within technical interviews. Interviewers may ask OOP concepts, operating system fundamentals, and basic networking between coding problems.

Sample Questions

1. What are the four pillars of OOP? Explain each with an example.

2. What is the difference between a process and a thread?

3. What is a mutex? How is it different from a semaphore?

4. Explain deadlock and the conditions required for it to occur.

5. What is virtual memory and how does it work?

6. What is hashing? How is space allocated in hash maps?

7. What is exception handling? Explain try-catch-finally in Java.

8. Write a code snippet demonstrating runtime polymorphism.

9. What is a lambda function? Explain with an example in Java or Python.

10. What is garbage collection and how does it work in Java?

How to Approach

  • Master OOP Concepts: Be able to explain inheritance, polymorphism, encapsulation, and abstraction with code examples.
  • Study OS Fundamentals: Know process management, threading, synchronization (mutex, semaphore), deadlock, and memory management.
  • Understand Java Deeply: Goldman Sachs primarily uses Java. Know collections framework, multithreading, exception handling, and lambda expressions.
  • Practice Code Snippets: Be ready to write small code demonstrating OOP concepts, not just explain them verbally.
  • Connect Concepts to Practice: Relate CS fundamentals to how they apply in real systems, particularly in financial technology.
  • Review Networking Basics: Know TCP vs UDP, HTTP/HTTPS, and basic network security concepts.

Topic 6: Puzzles and Logical Thinking

What to Expect: Mathematical and logical puzzles account for approximately 20% of Goldman Sachs interview time. These puzzles test analytical thinking, structured problem-solving, and the ability to break complex problems into simpler components.

Sample Questions

1. You have 8 balls and one is slightly heavier. Using a balance scale, what is the minimum number of weighings needed to find the heavy ball?

2. Two trains are moving toward each other. A fly starts at one train and flies back and forth. How far does the fly travel before the trains meet?

3. How many trailing zeros are there in 100 factorial?

4. You have two ropes that each take 1 hour to burn completely (non-uniformly). How do you measure exactly 45 minutes?

5. A king has 1000 bottles of wine, one of which is poisoned. Using prisoners to test, what is the minimum number of prisoners needed to identify the poisoned bottle?

6. Estimate how many golf balls fit in a school bus.

How to Approach

  • Practice Classic Puzzles: Goldman Sachs frequently asks well-known puzzles. Practice from sources like GeeksforGeeks Puzzles and brainstellar.com.
  • Think Out Loud: Explain your reasoning process, not just the final answer. Interviewers evaluate your approach.
  • Use Structured Problem-Solving: Break puzzles into smaller sub-problems. Identify constraints and edge cases.
  • Apply Mathematical Thinking: Many puzzles require basic probability, combinatorics, or number theory.
  • Stay Calm Under Pressure: Puzzles are designed to test composure. Take time to think before answering.
  • Practice Estimation Questions: Fermi estimation questions (like the golf balls question) test structured reasoning.

Goldman Sachs Interview Questions - HR Round

What to Expect: The managerial/HR round evaluates cultural fit, motivation, and behavioral traits. Goldman Sachs looks for candidates who align with their core values - integrity, client focus, teamwork, and excellence. Expect questions about your motivations, career aspirations, and how you handle challenges.

Sample HR Interview Questions

1. Tell us about yourself.

2. Why do you want to work at Goldman Sachs?

3. What do you know about Goldman Sachs' business and core values?

4. Where do you see yourself in 5 years?

5. What are your greatest strengths, and how would they contribute to success in a fast-paced financial environment?

6. Describe a time you had to work under pressure to meet a deadline.

7. Tell us about a time you worked in a team to solve a challenging problem.

8. How do you stay updated on current events and trends in the financial markets?

9. Are you open to relocating to Bengaluru or Hyderabad?

10. Do you have any questions for us?

How to Approach

  • Research Goldman Sachs Thoroughly: Understand their history, core business areas (investment banking, securities, asset management, consumer banking), and company values. Be prepared to explain why Goldman Sachs specifically.
  • Use the STAR Method: Structure behavioral answers using Situation, Task, Action, Result format for clear and impactful responses.
  • Reflect on Your Experiences: Think about specific instances of teamwork, leadership, handling pressure, and learning from failures.
  • Know the Role: Understand what Engineering Analysts do at Goldman Sachs - building trading platforms, risk management systems, and data infrastructure.
  • Be Honest and Authentic: Goldman Sachs values integrity. Provide genuine answers rather than rehearsed responses.
  • Prepare Thoughtful Questions: Ask about the team's work, technology stack, mentorship opportunities, or growth paths. This demonstrates genuine interest.

Frequently Asked QuestionsFAQ

What job roles are offered by Goldman Sachs for engineering freshers?

Goldman Sachs hires engineering freshers primarily for the Engineering Analyst (also called New Analyst) role within the Engineering division. This role involves software development across technology platforms supporting trading, risk management, securities, and operations. Offices are in Bengaluru and Hyderabad.

Is the Goldman Sachs interview tough?

The Goldman Sachs interview is considered one of the most challenging among campus hiring processes. Technical interviews are heavy on DSA (LeetCode Medium-Hard level) with live coding on CoderPad, and the aptitude test has a high cutoff of 75%. The overall acceptance rate is reported to be between 1-3%.

How many interview rounds are there in the Goldman Sachs hiring process?

The Goldman Sachs hiring process consists of 2-3 technical interview rounds and 1 managerial/HR round, in addition to the online aptitude test and technical test. The total number of rounds is typically 5-6 from application to offer.

How long are the Goldman Sachs interviews?

Each technical interview round lasts 45-60 minutes. The managerial/HR round lasts 30-45 minutes. For the "Superday" format, multiple interview rounds are conducted back-to-back on the same day with breaks in between.

What types of technical questions are frequently asked in Goldman Sachs interviews?

The most frequently tested areas are data structures and algorithms (approximately 70% of interview time), followed by mathematical and logical puzzles (approximately 20%), and language-specific and framework questions (approximately 10%). Dynamic programming, graphs, trees, and hash maps are the most common DSA topics.

How should I prepare for my Goldman Sachs interview?

Focus on solving LeetCode Medium-Hard problems, especially in dynamic programming, graphs, and trees. Practice live coding on CoderPad or similar platforms without IDE auto-complete. Review CS fundamentals (OOP, DBMS, OS) and prepare your resume projects thoroughly. Practice classic puzzles and estimation questions.

What will be my salary if I pass the Goldman Sachs interview?

Goldman Sachs offers one of the highest fresher packages in India. The CTC for Engineering Analyst roles typically ranges from ₹18-32 LPA depending on the campus tier and role specifics. This includes base salary, joining bonus, and annual discretionary bonus. Exact figures vary by campus and year.

When can I expect my Goldman Sachs interview results?

Goldman Sachs interview results are typically communicated within 1-2 weeks after the final round. The entire process from application to offer can take anywhere from 3 weeks to 3 months depending on the drive schedule and number of rounds.