Update appNew update is available. Click here to update.
Goldman Sachs interview experience Real time questions & tips from candidates to crack your interview
SDE - Intern
Goldman Sachs
upvote
share-icon
1 rounds | 2 Coding problems
Interview preparation journey
expand-icon
Preparation
Duration: 2 months
Topics: Data Structures, Pointers, Linked List, Trees, Graphs, Dynamic Programming, Back Tracking, React JS.
Tip
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
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
Try solving now
2. Pairs with difference K

You are given with an array of integers and an integer K. You have to find and print the count of all such pairs which have 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
Try solving now
Start a Discussion
Similar interview experiences
company logo
SDE - Intern
3 rounds | 7 problems
Interviewed by Goldman Sachs
2369 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 11 problems
Interviewed by Goldman Sachs
4750 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Goldman Sachs
325 views
1 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 14 problems
Interviewed by Goldman Sachs
83 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
9671 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
8150 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
6591 views
2 comments
0 upvotes