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)
Given an array of numbers, find the second largest number in it.
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.
Demonstrate how to flatten a 2D array using the reduce method in JavaScript.