Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Goldman Sachs interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Goldman Sachs
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
I applied through a referral. I found the opening for an SDE 1 role on the Goldman Sachs career portal, and then I reached out to people at Goldman Sachs on LinkedIn, and one of them referred me for this role. Taking referrals for companies like Goldman Sachs is essential because they receive a huge volume of applications.
Application story
I applied through a referral, and after a week, I received a test link. I found my college senior on LinkedIn. He is a Senior Software Engineer at Goldman Sachs, and I asked him to refer me for the SDE 1 role, and he referred me.
Why selected/rejected for the role?
I was not selected for this role because I could not clear the second interview round. Though I could answer the question, the interviewer wanted the most optimal solution to the question, which I could not provide.
Preparation
Duration: 8 months
Topics: DSA, Competitive Programming, Puzzles, System Design, C++, Computer Networks
Tip
Tip

Tip 1: Solve at least 500 DSA questions.
Tip 2: Try to find the most optimal solution while coding.
Tip 3: Practice hard DSA questions because they are also assigned in the interviews.

Application process
Where: Campus
Eligibility: Above 7.5 cgpa, No backlog
Resume Tip
Resume tip

Tip 1: Mention your best ranks in Global Contest
Tip 2: Mention open-source contributions if you have.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 mins
Interview date2 Oct 2022
Coding problem2

I got the test link on the next day of application. This rounds consisted of 2 dsa based questions both were of medium difficulty. The test was conducted on Hackerrank and the duration of this round was 90 minutes.

1. Find the first repeated character in a string

Moderate
30m average time
70% success
0/80
Asked in companies
Goldman SachsDelhiveryExpedia Group

You are given a string 'STR' of lowercase English alphabets. You need to find the repeated character present first in the string.

Example:
View more
Problem approach

I first used the brute force approach with nested for loops, to pass the test cases then I used Hashmap to optimize my solution. 
I also wrote the time and space complexity of my solution in comments.

Try solving now

2. Maximum In Sliding Windows Of Size K

Moderate
20m average time
80% success
0/80
Asked in companies
AppleGoogleWalmart

Given an array/list of integers of length ‘N’,...

View more
Try solving now
02
Round
Easy
Video Call
Duration60 mins
Interview date5 Oct 2022
Coding problem2

On 4-October-2022, I got a call from HR team of Goldman Sachs that I have cleared the online round and when we can schedule an interview. And we agreed to have the interview on 5th October. The round was conducted on Microsoft Teams and I have to use their IDE to solve the 2 coding problems. The interview went well and I solved both the questions.

1. Coin Change

Moderate
20m average time
80% success
0/80
Asked in companies
MicrosoftTata Consultancy Services (TCS)Flipkart

You are given an infinite supply of coins of each of denominations D = {D0, D1, D2, D3, ...... Dn-1}. You need to figure out the total number ...

View more
Problem approach

First I explained the recursive solution to the Interviewer and then he asked me optimize the solution. And then I used Dynamic Programming to solve the question.

Try solving now

2. 0 1 Knapsack

Moderate
0/80
Asked in companies
AmazonTwitterInnovaccer

A thief is robbing a store and can carry a maximum we...

View more
Try solving now
03
Round
Hard
Video Call
Duration45 mins
Interview date10 Jul 2023
Coding problem1

This round was also conducted on Microsoft Teams it was around 1 PM. This time the interviewer was not focusing on Data Structures and algorithms but he started to ask me system design questions and then he asked me to design the Amazon System. Since I am not good in System Design so I was not able to give the proper explanation. So I haven't cleared this round.

1. System Design Question

Design Amazon.(Learn)

Problem approach

Tip 1: With Dsa focus on System Design as well.
Tip 2: Designing to scale - design high-level then drill down.
Tip 3: Communicate clearly your approach to the Interview.

Here's your problem of the day

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

Is method overloading possible by changing the return type?

Start a Discussion
Similar interview experiences
company logo
SDE - 1
5 rounds | 8 problems
Interviewed by Goldman Sachs
26586 views
7 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Goldman Sachs
983 views
0 comments
0 upvotes
company logo
SDE - 1
1 rounds | 3 problems
Interviewed by Goldman Sachs
717 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by Goldman Sachs
452 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
101640 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
47693 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
29910 views
6 comments
0 upvotes