Goldman Sachs interview experience Real time questions & tips from candidates to crack your interview
SDE - Intern
Goldman Sachs
1 rounds | 2 Coding problems
Interview preparation journey
Preparation
Duration: 2 months
Topics: Data Structures, Pointers, Linked List, Trees, Graphs, Dynamic Programming, Back Tracking, React JS.
Tip

Tip 1: Practise leetcode questions as much as possible.
Tip 2: Try to come up with Optimised solution always.
Tip 3: Try using c++ for the online assessments.

Application process
Where: Hackerrank
Eligibility: No standing arrears.
Resume tip

Tip 1: Keep it to one side
Tip 2: Only add the things necessary for the role that you're applying for.
Tip 3: Don't lie in the resume and add projects related to the role.
Tip 4: Add any volunteering work that you did.

Interview rounds
01
Round
Easy
Online Coding Test
Duration90 Minutes
Interview date15 Oct 2022
Problems2

It was an online assessment. I was given 2 questions to complete.

1. Search In Rotated Sorted Array

Aahad and Harshit always have fun by solving problems. Harshit took a sorted array consisting of distinct integers and rotated ...

View more
Problem approach

Step 1: int right(0) initializing right as zero and left(0) initializing left as zero
taking sum of all the element and assigning it to right
Step 2: running a loop through the whole array from left to right (i=0 --> n-1)
Step 3: at every step to find the if right sum = left sum we subtract current element from the array i.e. nums[i]
hence right-=nums[i]
Step 4: by implementin...

View more
2. Pairs with difference K

Note: Take absolute difference between...

View more
Problem approach

Using HashMap

First we will create map for counting frequencies of each element in the array.

Now we have 2 cases over here as
-->a) if k == 0 it means we need to count frequency of the same element by using map.get(i) method.
-->b) we need to take counter approach for every element by adding k everytime and check whether that element is present in map or not.

I...

View more
Start a Discussion
Similar interview experiences
SDE - Intern
3 rounds | 7 problems
Interviewed by Goldman Sachs
2369 views
SDE - Intern
3 rounds | 11 problems
Interviewed by Goldman Sachs
4750 views
SDE - Intern
2 rounds | 4 problems
Interviewed by Goldman Sachs
325 views
SDE - Intern
3 rounds | 14 problems
Interviewed by Goldman Sachs
83 views
Companies with similar interview experiences
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
9671 views