Upload Button Icon Add office photos

Filter interviews by

Clear (1)

Goldman Sachs Analyst Interview Questions, Process, and Tips

Updated 31 Jan 2025

Top Goldman Sachs Analyst Interview Questions and Answers

  • Q1. Ninja and the Game of Words In this game, Ninja is provided with a string STR that might contain spaces, and a list or array WORDS consisting of N word strings. Ninja's ...read more
  • Q2. Good old standard problem: Playing number game with your friend to select any of the number between 1 to 3. Whoever reaches 20 first, wins. You have to tell the strategy ...read more
  • Q3. Wildcard Pattern Matching Problem Statement Implement a wildcard pattern matching algorithm to determine if a given wildcard pattern matches a text string completely. Th ...read more
View all 77 questions

Goldman Sachs Analyst Interview Experiences

75 interviews found

Analyst Interview Questions & Answers

user image Anonymous

posted on 15 Oct 2021

I was interviewed in Aug 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 Minutes
Round difficulty - Medium

  • Q1. 

    Chocolate Distribution Problem

    You are given an array/list CHOCOLATES of size 'N', where each element represents the number of chocolates in a packet. Your task is to distribute these chocolates among 'M'...

  • Ans. 

    The task is to distribute chocolates among students such that the difference between the largest and smallest number of chocolates is minimized.

    • Sort the array of chocolates packets in ascending order.

    • Iterate through the array and find the minimum difference between the chocolates packets distributed to students.

    • Return the minimum difference as the output.

  • Answered by AI
  • Q2. 

    Digits Decoding Problem

    Ninja has a string of characters from 'A' to 'Z', encoded using their numeric values (A=1, B=2, ..., Z=26). The encoded string is given as a sequence of digits (SEQ). The task is t...

  • Ans. 

    The task is to determine the number of possible ways to decode a given sequence of digits back into a string of characters from 'A' to 'Z'.

    • Use dynamic programming to solve the problem efficiently.

    • Consider different cases like single digit decoding, double digit decoding, and combinations of both.

    • Implement a recursive function with memoization to avoid redundant calculations.

    • Handle edge cases such as '0' and '00' in the...

  • Answered by AI
Round 2 - Coding Test 

(1 Question)

Round duration - 60 Minutes
Round difficulty - Easy

This round was organized in day time from 2PM - 3PM
1 coding question and 1 code for debugging was given on the coderpad
Interviewer made it quite engaging with lot of discussions 
Time complexity and space complexity was also discussed in detail

  • Q1. 

    Group Anagrams Together

    Given an array/list of strings STR_LIST, group the anagrams together and return each group as a list of strings. Each group must contain strings that are anagrams of each other.

    E...

  • Ans. 

    Group anagrams together in a list of strings.

    • Iterate through the list of strings and sort each string alphabetically.

    • Use a hashmap to group anagrams together based on the sorted string as key.

    • Return the values of the hashmap as the grouped anagrams.

  • Answered by AI
Round 3 - Face to Face 

(1 Question)

Round duration - 50 Minutes
Round difficulty - Medium

This round began with detail introduction about me , college and my previous company. Then my projects were discussed in detail . Focus was on company projects, one machine learning based project done during college was also discussed in detail. 
There were 2 interviewers ,cross questioning one after other, but it was still a good conversation. I felt like it would be a rapid fire round due to 2 interviewers but it was really good , no pressure and discussion went quite well. After introduction, I was asked a trie based question and another one I approached using heap and interviewers were satisfied with answer of both solutions

  • Q1. 

    Boyer Moore Algorithm for Pattern Searching

    You are given a string text and a string pattern. Your task is to find all occurrences of pattern in the string text and return an array of indexes of all those...

  • Ans. 

    Implement Boyer Moore Algorithm to find all occurrences of a pattern in a given text.

    • Use Boyer Moore Algorithm to efficiently search for the pattern in the text.

    • Iterate through the text and compare the pattern with each substring to find matches.

    • Return an array of indexes where the pattern is found, or -1 if no occurrence is found.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as Analyst in BengaluruEligibility criteriaMatching skills and good cgpaGoldman Sachs interview preparation:Topics to prepare for the interview - Array, String, Trees/Graphs, Dynamic Programming, Stack/QueueTime required to prepare for the interview - 2 MonthsInterview preparation tips for other job seekers

Tip 1 : During preparation as a working professional, try to utilize weekends and take mock tests for sure
Tip 2 : Select an online coding prlatform and practise atleast one question a day

Application resume tips for other job seekers

Tip 1 : Keep it of one page if possible and mention keywords on resume which are mentioned on the job description if you have matching skills
Tip 2 : Don't put skills which you are not confident on.

Final outcome of the interviewSelected

Skills evaluated in this interview

Analyst Interview Questions & Answers

user image Anonymous

posted on 4 Dec 2023

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed before Dec 2022. There were 6 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all Resume tips
Round 2 - Coding Test 

There were 3 coding questions with medium difficulty level.

Round 3 - Aptitude Test 

Good knowledge in logical reasoning and mathematics (especially probability) is required.

Round 4 - Coding Test 

2 array based questions

Round 5 - Coding Test 

1 array and 1 linked list based questions were asked

Round 6 - HR 

(1 Question)

  • Q1. Logical reasoning and some general interview questions were asked.

Interview Preparation Tips

Topics to prepare for Goldman Sachs Analyst interview:
  • Data Structures
  • Java
  • Mathematics
  • React
  • Spring Boot
Interview preparation tips for other job seekers - Good knowledge in data structures is required.

Analyst Interview Questions Asked at Other Companies

asked in Capgemini
Q1. N-th Fibonacci Number Problem Statement Given an integer ‘N’, you ... read more
asked in Deloitte
Q2. Reverse a Number Problem Statement Given an integer 'N', write a ... read more
Q3. A 10x10x10 cube is made up of 1x1x1 cubes. Its outer surface is p ... read more
Q4. Ninja and the Game of Words In this game, Ninja is provided with ... read more
Q5. Good old standard problem: Playing number game with your friend t ... read more

Analyst Interview Questions & Answers

user image Anonymous

posted on 17 May 2022

I was interviewed before May 2021.

Round 1 - Coding Test 

(1 Question)

Round duration - 90 Minutes
Round difficulty - Medium

Test was at 11am, we were gicing the test from home, aand were asked to switch on the web camera, and there was tab monitoring. The test had negative marking as well for MCQ questions +5, -2, so only answer those question which you are absolutely sure of.

  • Q1. 

    Greatest Common Divisor Problem Statement

    You are tasked with finding the greatest common divisor (GCD) of two given numbers 'X' and 'Y'. The GCD is defined as the largest integer that divides both of the...

  • Ans. 

    Finding the greatest common divisor (GCD) of two given numbers 'X' and 'Y'.

    • Iterate through each test case and calculate GCD using Euclidean algorithm

    • Handle edge cases like when one of the numbers is 0

    • Output the GCD for each test case

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 60 Minutes
Round difficulty - Easy

Interview started at around 10:30am

  • Q1. 

    Circular Tour Problem Statement

    Consider a circular path with N petrol pumps. Each pump is numbered from 0 to N-1. Every petrol pump provides:

    1. The amount of petrol available at the pump.
    2. The distanc...
  • Ans. 

    The task is to find the first petrol pump from which a truck can complete a full circle or determine if it's impossible.

    • Iterate through each petrol pump and calculate the remaining petrol after reaching the next pump.

    • If the remaining petrol is negative at any point, reset the starting pump to the next pump and continue.

    • If the total remaining petrol at the end is non-negative, return the index of the starting pump.

    • If th...

  • Answered by AI
Round 3 - Video Call 

(1 Question)

Round duration - 60 Minutes
Round difficulty - Easy

Started at around 1pm, Interviewer was a senior person from hiring team

  • Q1. Can you describe the design of a parking lot system?
  • Ans. 

    A parking lot system is designed to efficiently manage parking spaces and provide convenience to users.

    • The design includes entry and exit points for vehicles.

    • Parking spaces are clearly marked and organized for easy navigation.

    • There may be designated areas for different types of vehicles, such as compact cars or motorcycles.

    • The system may incorporate technology like sensors or cameras to monitor occupancy and assist in ...

  • Answered by AI
Round 4 - Video Call 

Round duration - 60 Minutes
Round difficulty - Medium

Final round, with Senior person non-hiring team

Interview Preparation Tips

Professional and academic backgroundI applied for the job as Analyst in BengaluruEligibility criteriaNo CriteriaGoldman Sachs interview preparation:Topics to prepare for the interview - Array, Linked lists, Stacks, Queue, Dynamic Programming, OS, DBMSTime required to prepare for the interview - 12 MonthsInterview preparation tips for other job seekers

Tip 1 : Try out basic leetcode questions
Tip 2 : Speak out the logic with the interviewer, they are testing your analytical skills, not how correctly you know the syntax

Application resume tips for other job seekers

Tip 1 : Don't lie on resume
Tip 2 : Make sure that whatever is on resume, you go thorough with each topic/project

Final outcome of the interviewSelected

Skills evaluated in this interview

Analyst Interview Questions & Answers

user image Anonymous

posted on 30 Jan 2023

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Recruitment Consulltant and was interviewed before Jan 2022. There were 2 interview rounds.

Round 1 - Coding Test 

2 DSA questions, leetcode medium level. Duration 1 hour

Round 2 - One-on-one 

(5 Questions)

  • Q1. 1. Trapping rain water 2. Some array problem solved by HashMap
  • Q2. 1. Java basics, collection framework 2. Find peak in an array
  • Q3. 1. Edit Distance 2. Topological sort
  • Q4. 1. N rook placing problem 2. Again Java basics
  • Q5. 1. Give array elements randomly with no repeatition 2. Behavioral questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare Java Spring Boot questions.
Prepare Leetcode medium DSA

Goldman Sachs interview questions for designations

 Senior Analyst

 (10)

 Operations Analyst

 (5)

 Risk Analyst

 (3)

 Fraud Analyst

 (3)

 Data Analyst

 (2)

 Quality Analyst

 (1)

 Valuation Analyst

 (1)

 Associate Analyst

 (1)

Analyst Interview Questions & Answers

user image Anonymous

posted on 21 Aug 2021

I applied via Recruitment Consultant and was interviewed in Jul 2021. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Technical ques of trade life cycle derivative reconciliation RDM etc

Interview Preparation Tips

Interview preparation tips for other job seekers - Be patient while answering don’t hurry and maintain figure of speech it helps you to gain confidence in front of interviewer

Get interview-ready with Top Goldman Sachs Interview Questions

Analyst Interview Questions & Answers

user image Anonymous

posted on 15 Feb 2021

I applied via Company Website and was interviewed in Jan 2021. There were 4 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Searching and Sorting
  • Q2. If You have an infinite array then how many ways to sort it and also tell the complexities
  • Ans. 

    There are infinite ways to sort an infinite array with varying complexities.

    • Sorting algorithms like QuickSort, MergeSort, HeapSort, etc. can be used to sort the array.

    • The time complexity of sorting algorithms varies from O(n log n) to O(n^2).

    • The space complexity also varies depending on the algorithm used.

    • Sorting an infinite array is not practical, so it is usually done in chunks or using parallel processing.

    • The sortin...

  • Answered by AI
  • Q3. About projects

Interview Preparation Tips

Interview preparation tips for other job seekers - First of all charge your laptop. In my case there is some electricity issue , my laptop is not fully charged and interviewer taking interview one by one to every student . So I m very scared at that time , But by god I have my brother laptop so I do not face any problem at the time of interview .

Skills evaluated in this interview

Analyst Jobs at Goldman Sachs

View all

Analyst Interview Questions & Answers

user image Anonymous

posted on 27 Oct 2021

I was interviewed before Oct 2020.

Round 1 - Coding Test 

(3 Questions)

Round duration - 90 minutes
Round difficulty - Medium

The round was divided into 5 parts.
1st part - 2 easy coding questions
2nd part - 7 MCQs
3rd part - 8 MCQs
4th part - 1 hard coding question
5th part - 2 ethical based questions

  • Q1. 

    LRU Cache Design Question

    Design a data structure for a Least Recently Used (LRU) cache that supports the following operations:

    1. get(key) - Return the value of the key if it exists in the cache; otherw...

  • Ans. 

    Design a Least Recently Used (LRU) cache data structure that supports get and put operations with capacity constraint.

    • Implement a doubly linked list to keep track of the order of keys based on their recent usage.

    • Use a hashmap to store key-value pairs for quick access.

    • When capacity is reached, evict the least recently used item before inserting a new item.

    • Update the order of keys in the linked list whenever a key is acc

  • Answered by AI
  • Q2. 

    Maximum Subarray Sum Problem Statement

    Given an array ARR consisting of N integers, your goal is to determine the maximum possible sum of a non-empty contiguous subarray within this array.

    Example of Sub...

  • Ans. 

    The goal is to find the maximum sum of a non-empty contiguous subarray within an array of integers.

    • Iterate through the array and keep track of the maximum sum of subarrays encountered so far.

    • Use Kadane's algorithm to efficiently find the maximum subarray sum.

    • Consider edge cases like all negative numbers in the array.

    • Example: For input [1, -3, 4, -2, -1, 6], the maximum subarray sum is 7 (subarray [4, -2, -1, 6]).

  • Answered by AI
  • Q3. 

    Shortest Path in a Binary Matrix Problem Statement

    Given a binary matrix of size N * M where each element is either 0 or 1, find the shortest path from a source cell to a destination cell, consisting only...

  • Ans. 

    Find the shortest path in a binary matrix from a source cell to a destination cell consisting only of 1s.

    • Use Breadth First Search (BFS) algorithm to find the shortest path.

    • Keep track of visited cells to avoid revisiting them.

    • Calculate the path length by counting the number of 1s in the path.

    • Return -1 if no valid path exists.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as Analyst in HyderabadEligibility criteriaNo criteriaGoldman Sachs interview preparation:Topics to prepare for the interview - Data Structures, Pointers, OOPS, Algorithms, Dynamic Programming, Puzzles, Tree Algorithms, Competetive ProgrammingTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : For Goldman Sachs, puzzles are a must.
Tip 2 : Competitive Programming is also necessary for most job interviews.
Tip 3 : Practise mock interviews among your friends.

Application resume tips for other job seekers

Tip 1 : Make your resume crisp and clear.
Tip 2 : Have at least two projects on your resume.
Tip 3 : You can take the help of someone to verify any grammatical mistakes and the formation of sentences.

Final outcome of the interviewRejected

Skills evaluated in this interview

Analyst Interview Questions & Answers

user image Anonymous

posted on 28 Sep 2021

I applied via Recruitment Consultant and was interviewed before Sep 2020. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Derivatives, fees and commission

Interview Preparation Tips

Interview preparation tips for other job seekers - Read all financial markets related concepts and little information on advance Excel

Analyst Interview Questions & Answers

user image Anonymous

posted on 6 Jul 2022

I applied via Campus Placement and was interviewed before Jul 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

It was difficult aptitude test. One need to be well versed in aptitude and coding ( any programming language).

Round 2 - Technical 

(1 Question)

  • Q1. I don't know i didn't pass aptitude test

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well as the test is hard to crack.

Analyst Interview Questions & Answers

user image Piyush Singla

posted on 27 Jan 2017

I was interviewed in Dec 2016.

Interview Preparation Tips

Round: Resume Shortlist
Experience: For CSE and EE students , CPI was not at all seem to be a criteria for shortlisting and almost all who have a decent profile got shortlisted for the test. However, for other department students they shortlisted above 9 CPI students.

Round: Test
Experience: It was a 2 hour test. It consisted of 3 sections-Quant , Machine Learning and Computer Science . Each section had 10 questions and 45 minutes were allotted for each section.
Being from non-CSE background I attempted only 2 sections ie. Quant and Machine Learning. Machine Learning section was fairly easy this time and almost all questions were standard. If someone has done an introductory course on Machine Learning and basic stats , this section was a cake walk for him. However , attempting quant section required some preparation of solving probability puzzles (computing expectations etc.) ,basic linear algebra and geometry base questions.
Duration: 2 hours

Round: Technical Interview
Experience: I had 2 rounds of interview. Both were technical ones.
In the first interview , they asked some probability puzzles (from 50 challenging problems in probability book) . Since I had completed that book before , I was able to solve them . Then they asked 1-2 algorithm based questions like formulate an efficient algorithm for solving a particular problem. I was not able to solve them completely but tried to give them the overview of y approach. The interviewer didn't seem to be satisfied though. It lasted for around 20-25 minutes.He told me to wait outside . To my surprise, I was called for the 2nd round.
The second went better than the first round. They again asked questions on computing probability , expectations , constructing a Markov Chain for a a given problem etc. Since I had done 1 course in Fiance also , he asked me questions from it also which were quite easy. Then he began asking algorithms and asked me to explain a sorting algorithm and I chose Quick Sort. While explaining it , I got struck at one point but the interviewer was helping me by giving hints and I was able to explain it fully. The second round was quite exhaustive as it went on for around 45-60 minutes.

Skills: Problem Solving Abilties, Mathematical Aptitude, Algorithmic Approach To Problem Solving, Machine Learning, Statistical Method Basics
College Name: IIT Kanpur
Contribute & help others!
anonymous
You can choose to be anonymous

Goldman Sachs Interview FAQs

How many rounds are there in Goldman Sachs Analyst interview?
Goldman Sachs interview process usually has 2-3 rounds. The most common rounds in the Goldman Sachs interview process are One-on-one Round, Coding Test and HR.
How to prepare for Goldman Sachs Analyst interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Goldman Sachs. The most common topics and skills that interviewers at Goldman Sachs expect are Investment Banking, Investment Management, Risk Management, Software Asset Management and HTML.
What are the top questions asked in Goldman Sachs Analyst interview?

Some of the top questions asked at the Goldman Sachs Analyst interview -

  1. Good old standard problem: Playing number game with your friend to select any o...read more
  2. Given a tank with liquid, and there are flows in and out, inflow is U and outfl...read more
  3. Given we have a (un)biased die, with given probabilities, and we toss it till w...read more
How long is the Goldman Sachs Analyst interview process?

The duration of Goldman Sachs Analyst interview process can vary, but typically it takes about less than 2 weeks to complete.

Recently Viewed

INTERVIEWS

Ashirvad Pipes

20 top interview questions

INTERVIEWS

BT Group

No Interviews

INTERVIEWS

CommScope

No Interviews

SALARIES

Ashirvad Pipes

INTERVIEWS

Ashirvad Pipes

No Interviews

INTERVIEWS

Ashirvad Pipes

No Interviews

SALARIES

Arista Networks

INTERVIEWS

Nokia

No Interviews

INTERVIEWS

Pluralsight

No Interviews

Tell us how to improve this page.

Goldman Sachs Analyst Interview Process

based on 38 interviews

7 Interview rounds

  • Technical Round
  • HR Round
  • Aptitude Test Round - 1
  • Personal Interview1 Round
  • Aptitude Test Round - 2
  • Aptitude Test Round - 3
  • Puzzles Interview Round
View more

Analyst Interview Questions from Similar Companies

IQVIA Analyst Interview Questions
3.9
 • 18 Interviews
UBS Analyst Interview Questions
3.9
 • 11 Interviews
View all
Goldman Sachs Analyst Salary
based on 1.7k salaries
₹12.5 L/yr - ₹25 L/yr
120% more than the average Analyst Salary in India
View more details

Goldman Sachs Analyst Reviews and Ratings

based on 138 reviews

3.7/5

Rating in categories

3.5

Skill development

3.1

Work-life balance

3.4

Salary

2.9

Job security

3.5

Company culture

3.3

Promotions

3.2

Work satisfaction

Explore 138 Reviews and Ratings
GBM Private- Information Services Group - Analyst - Bengaluru

Bangalore / Bengaluru

1-5 Yrs

Not Disclosed

Client Implementation - Analyst

Bangalore / Bengaluru

2-5 Yrs

Not Disclosed

Analyst

Bangalore / Bengaluru

2-3 Yrs

₹ 3-40 LPA

Explore more jobs
Associate
2.3k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Analyst
1.7k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Vice President
1.6k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Analyst
1.1k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Financial Analyst
325 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Goldman Sachs with

JPMorgan Chase & Co.

4.0
Compare

Morgan Stanley

3.7
Compare

TCS

3.7
Compare

Amazon

4.1
Compare
Did you find this page helpful?
Yes No
write
Share an Interview