Goldman Sachs | Associate | interview experience
Summary
I recently interviewed for an Associate role at Goldman Sachs. The process involved three rounds focusing on DSA and JavaScript. Unfortunately, I was rejected after failing to perform well in the second DSA round.
Full Experience
I was reached out by a recruiter for an Associate position with a frontend (React) focus. I have 3 years of experience in product-based companies.
Round 1 (DSA)
This round focused on Data Structures and Algorithms.
- I was asked to find the second largest number in an array.
- The second problem involved processing a 2D array of
[name, marks]. My task was to group marks by name, compute the average for each name, and then return the maximum average among all names.
Round 2 (DSA)
The second DSA round proved to be challenging for me.
- The first problem was Search in Rotated Sorted Array.
- The second problem was Find the Kth Largest Integer in the Array.
I didn't perform well in this round, which ultimately led to my rejection.
Round 3 (Javascript)
This round was focused on JavaScript concepts.
- There was a discussion around
reduce,filter, and the spread operator. - I was specifically asked to flatten a 2D array using the
reducemethod. - There was also a complex JavaScript problem involving both
reduceandfilter, though I don't recall the exact specifics.
I received a rejection verdict, primarily due to my performance in Round 2.
Interview Questions (5)
Find Second Largest Number in Array
Given an array of numbers, find the second largest number in it.
Maximum Average from Grouped Marks
You are given a 2D array of [name, marks]. You need to group marks by name, compute the average per name, and return the maximum average among all names.
Search in Rotated Sorted Array
Refer to the LeetCode link for the full problem statement.
Find the Kth Largest Integer in the Array
Flatten 2D Array using Reduce
Demonstrate how to flatten a 2D array using the reduce method in JavaScript.