Goldman Sachs interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Goldman Sachs
upvote
share-icon
4 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
Before seeking this position, I was employed as a software developer at Aptean, where I had the opportunity to tackle stimulating challenges. I possess a logical mindset and take pleasure in resolving real-world issues. In my third year of college, I began delving into data structures and algorithms and continued to prioritize it alongside my initial job.
Application story
I proactively sought a career change and registered my profile on job portals such as Instahire and Naukri. Moreover, I remained highly engaged on LinkedIn. In the case of GS, a recruiter from the organization contacted me via LinkedIn.
Why selected/rejected for the role?
My firm grasp of core data structures and algorithms (DSA) fundamentals and my proficiency in problem-solving were the primary factors that led to my selection. My capabilities in DSA, problem-solving, and logical reasoning were instrumental in securing the position. Also, dedication and discipline were the key thing here.
Preparation
Duration: 6 months
Topics: Data Structure and Algorithms, Problem solving, Computer Science fundamentals, Operating system, DBMS
Tip
Tip

Tip 1 : Rehearse former interview questions from online platforms.
Tip 2 : Try to solve atleast 1 problem daily
Tip 3 : Be consistant
Tip 4 : Be confident during the interview

Application process
Where: Campus
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : One Page resume
Tip 2 : Precise and to the point

Interview rounds

01
Round
Easy
Online Coding Test
Duration70 minutes
Interview date15 Apr 2021
Coding problem2

2 Coding Questions in 30 min. 
Both were easy-level questions and simple brute-force solutions passed all test cases.
Aptitude Questions (20 min)
CS fundamentals MCQs (25 min)
2 descriptive questions (15 min)

1. Count Triplets

Easy
15m average time
85% success
0/40
Asked in companies
AmazonPayPalDunzo

You have been given an integer ‘X’ and a non-decreasing sorted doubly linked list with distinct nodes.

Your task is to return the number of triplets in the list that sum up to the value ‘X’.

Try solving now

2. Find prime numbers

Easy
15m average time
80% success
0/40
Asked in companies
HSBCOptumIBM

You are given a positive integer ‘N’. Your task is to print all prime numbers less than or equal to N.

Note: A prime number is a natural number that is divisible only by 1 and itself. Example - 2, 3, 17, etc.

You can assume that the value of N will always be greater than 1. So, the answer will always exist.

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date19 May 2021
Coding problem2

Two Medium Coding problems

1. N Stacks In An Array

Hard
20m average time
80% success
0/120
Asked in companies
IntuitBNY MellonAmazon

Design a data structure to implement ‘N’ stacks using a single array of size ‘S’. It should support the following operations:

push(X, M): Pushes an element X into the Mth stack. Returns true if the element is pushed into the stack, otherwise false.

pop(M): Pops the top element from Mth Stack. Returns -1 if the stack is empty, otherwise, returns the popped element.

Two types of queries denote these operations :

Type 1: for push(X, M) operation.
Type 2: for pop(M) operation.
Try solving now

2. Equal Sum

Easy
15m average time
80% success
0/40
Asked in companies
CIS - Cyber InfrastructureGoldman Sachs

After a long lockdown, Alex and Rome want to meet. There are ‘N’ checkpoints in between their homes numbered from 0 to N - 1, where checkpoint 0 is closest to Alex and checkpoint N - 1 is closest to Rome. Each checkpoint has a token with a number written on it. If someone crosses some checkpoint, he will collect the token. Alex and Rome will meet at some checkpoint ‘i’, 0 <= i <= N - 1. They aim to have the same total sum of numbers on the tokens they have collected individually when they meet at the checkpoint ‘i’. They don’t want any fights, so no one will take the token at checkpoint ‘i’.

You are given an array ‘token’ consisting of ‘N’ integers, signifying the number on each token. Find out the checkpoint number ‘i’ such that Alex and Rome will have the same sum of numbers on their tokens. Since Alex is lazy, find out the index closest to Alex such that the above conditions hold. Also, notify if no such checkpoints exist.

Try solving now
03
Round
Hard
Video Call
Duration1 hour
Interview date25 May 2021
Coding problem1

This round was taken by one of the Senior Engineer From the inventry team. Initally there were discussion arounf the current work I am doing and then there was discussion around the high and low level design of a problem

1. System Design Question

This was very open ended question to design a banking system. I clarified the requirements by asking lot of questions, noted down and come to an agreement to choose the set of requirements. Then I designed few microservices and explained the inter-service communications. Created the major classes, and APIs. There were multiple follow up questions around the distributed systems and their communication which I answered satisfactory

Problem approach

Tip 1 : Don't directly jump to the solution, clarify the requirements by asking right set of questions
Tip 2 : Break down complex system into set of simple systems
Tip 3 : Be loud while explaining your thought process

04
Round
Easy
Video Call
Duration60 Minutes
Interview date25 May 2021
Coding problem1

1. Technical Questions

- Introduce yourself
- Detained discussion on oast projects, flow of the projects, design tradeoffs I have taken and challanges I faced
- Which Database did you use in a project? (I used SQLite)
- Why did you choose SQLite?
- What are ACID properties in the database? Explain each with an example.
- tell me a situation where you have shown ownership
- And at the end “Do you have some questions? “

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Goldman Sachs
1882 views
0 comments
0 upvotes
company logo
SDE - 1
1 rounds | 3 problems
Interviewed by Goldman Sachs
1375 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Goldman Sachs
2094 views
0 comments
0 upvotes
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Goldman Sachs
973 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115097 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58238 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes