Goldman Sachs interview experience Real time questions & tips from candidates to crack your interview

Analyst

Goldman Sachs
upvote
share-icon
3 rounds | 8 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 12 Months
Topics: Data Structures, Algorithms, OOPS, OS, DBMS
Tip
Tip

Tip 1 : Goldman Sachs focuses on DBMS since this is an Analyst Role, Be prepared with your DBMS(very imp.), OS and CN skills.
Tip 2 : Solve DSA problems consistently
Tip 3 : Be prepared to answer questions on your projects.

Application process
Where: Other
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : Use a good template from overleaf from your resume.
Tip 2 : Crosscheck your resume for any potential errors before submitting it to the hackerrank portal.

Interview rounds

01
Round
Hard
Online Coding Interview
Duration90 Minutes
Interview date22 Aug 2021
Coding problem0

MCQs will be based on very hard aptitude reasoning.

02
Round
Medium
Online Coding Interview
Duration110 Minutes
Interview date24 Oct 2021
Coding problem2

MCQ with

2 - Easy - Medium coding questions
8 - Quantitative aptitude questions
7 - CS fundamentals
2 - English essay questions

1. Wildcard Pattern Matching

Hard
50m average time
30% success
0/120
Asked in companies
SalesforceFreshworksWalmart

Given a text and a wildcard pattern of size N and M respectively, implement a wildcard pattern matching algorithm that finds if the wildcard pattern is matched with the text. The matching should cover the entire text not partial text.

The wildcard pattern can include the characters ‘?’ and ‘*’

 ‘?’ – matches any single character 
 ‘*’ – Matches any sequence of characters(sequence can be of length 0 or more)
Try solving now

2. Ninja And The Game Of Words

Moderate
20m average time
80% success
0/80
Asked in companies
MicrosoftHCL TechnologiesGoldman Sachs

Ninja and his friend playing a game in which his friend gave him a string ‘STR’ that can contain spaces and a List/Array ‘WORDS’ which is of type string containing ‘N’ strings of words. Ninja’s task is to count the occurrences of all the words in ‘STR’.

For Example:

‘STR’ = “i am a Ninja”, ‘N’ = 3 and ‘WORDS[]’ = [“Ninja”,”a”,”am”]. Then the output should be [1,1,1]. Because the occurrence of “Ninja” in ‘STR’ is 1 and the occurrence of “a” in ‘STR’ is 1.Similarly occurrence of “am” is 1.

Note:

The output should be in the same order as given in ‘WORDS’.

Can you help Ninja to generate all valid strings from ‘STR’ by minimum removals?

Try solving now
03
Round
Easy
Video Call
Duration40 Minutes
Interview date15 Dec 2021
Coding problem6

I was invited to join a zoom call and from there was a breakout room where my interview happened. It starts at around 10 AM in the morning and in around an hour the interview the started. Since I didn't get selected for the second round, my process finished at around 12:30 PM. But I have heard that the interviews may go up to 9 PM depending on how many rounds you have maximum being 3. The interviewer was great. I was asked a lot of questions on core CS concepts so make sure to focus on them to clear the interviews.

1. DBMS Question

Why did you use NoSQL DB in your project? Why not an SQL? What's the difference between them?

2. DBMS Question

What is Data modelling?

3. DBMS Question

What is ER Model?

4. Software Engineering Question

What is an SDLC?

5. Software Engineering Question

What is UML modelling? and All the related diagrams like class diagram, sequence diagram

6. Gold mine problem

Moderate
35m average time
70% success
0/80
Asked in companies
Goldman SachsAmazonBNY Mellon

You have been given a gold mine represented by a 2-d matrix of size ('N' * 'M') 'N' rows and 'M' columns. Each field/cell in this mine contains a positive integer, the amount of gold in kgs.

Initially, the miner is at the first column but can be at any row.

He can move only right, right up, or right down. That is from a given cell and the miner can move to the cell diagonally up towards the right or right or diagonally down towards the right.

Find out the maximum amount of gold he can collect.

Problem approach

Step 1 : I initialized the first column with the default values.
Step 2 : Since you can travel right, right up or right down that means if you are at a position then you can come from either left, left up or left down.
Step 3 : Apply the DP technique to maximize the output at each mine.
Step 4 : Print the maximum element in the last column.

Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
Analyst
1 rounds | 3 problems
Interviewed by Goldman Sachs
1890 views
0 comments
0 upvotes
company logo
Analyst
5 rounds | 7 problems
Interviewed by Goldman Sachs
2205 views
1 comments
0 upvotes
company logo
Analyst
6 rounds | 12 problems
Interviewed by Goldman Sachs
0 views
0 comments
0 upvotes
company logo
Analyst
3 rounds | 5 problems
Interviewed by Goldman Sachs
8166 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Analyst
3 rounds | 4 problems
Interviewed by Ernst & Young (EY)
2196 views
1 comments
0 upvotes
company logo
Analyst
2 rounds | 7 problems
Interviewed by Dunzo
875 views
0 comments
0 upvotes
company logo
Analyst
3 rounds | 9 problems
Interviewed by HCL Technologies
0 views
0 comments
0 upvotes