Upload Button Icon Add office photos

Filter interviews by

Goldman Sachs Software Developer Interview Questions, Process, and Tips

Updated 8 Oct 2024

Top Goldman Sachs Software Developer Interview Questions and Answers

  • Q1. Delete a Node from a Linked List You are provided with a linked list of integers. Your task is to implement a function that deletes a node located at a specified positio ...read more
  • Q2. Matrix Word Search Problem Explanation: You are given an 'M' x 'N' matrix of characters named CHARACTER_MATRIX and a string WORD . Your task is to identify and list all ...read more
  • Q3. Buy and Sell Stock Problem Statement Imagine you are Harshad Mehta's friend, and you have been given the stock prices of a particular company for the next 'N' days. You ...read more
View all 14 questions

Goldman Sachs Software Developer Interview Experiences

10 interviews found

Interview Questionnaire 

11 Questions

  • Q1. Print all nodes at a distance k from a given node in binary tree?
  • Q2. RandN function : which generates random number in [1,2,3..N] with equal probability. Given rand5, write a code for rand7 using rand5
  • Ans. 

    Code for rand7 using rand5 function

    • Use rand5 twice to generate a number in [1,25] with equal probability

    • If the number is greater than 21, discard and try again

    • Otherwise, return (number mod 7) + 1

  • Answered by AI
  • Q3. Puzzle: Using all(8,8,3,3) and only operators(*,/,-,+), make 24
  • Q4. How do you implement LRU cache?
  • Ans. 

    LRU cache is implemented using a doubly linked list and a hash map.

    • Create a doubly linked list to keep track of the order of elements in the cache.

    • Create a hash map to store the key-value pairs of the cache.

    • When a new element is added, check if the cache is full. If it is, remove the least recently used element from the linked list and the hash map.

    • When an element is accessed, move it to the front of the linked list to...

  • Answered by AI
  • Q5. Your current project in Company? A lot of questions from CV? Discussion went on for about 15 minutes?
  • Q6. Then had a lot of questions around java script and java. About different design patterns and web services
  • Q7. A lot of questions around java, collections frameworks, multi threading and so on. (This took a good 25-30 minutes )
  • Q8. A strategy question. It would be asked depending on which team you are being interviewed for.Mine was some apple seller problem. Here knowledge of real world scenario helps. Advice is to observe things aro...
  • Q9. Write down function to select pivot element randomly in Quick Sort
  • Ans. 

    Function to randomly select pivot element in Quick Sort

    • Generate a random index within the range of the array

    • Return the element at the randomly generated index as the pivot

  • Answered by AI
  • Q10. He asked me what is a data structure and why do we use one. Explained him. He asked some real life example of stack and queue. All I could gave him was programming examples but when he insisted on real li...
  • Q11. As we were talking very much on each question. He felt like talking more and from tech he went around for some biggest learning from a mistake/biggest achievement of life kind of questions. There were oth...

Interview Preparation Tips

General Tips: I recently interviewed with Goldman Sachs, and had 4 rounds of interview with them at their campus in Bangalore.
Skills: Algorithm, Data structure
College Name: na

Skills evaluated in this interview

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

I applied via Referral and was interviewed in May 2024. There were 4 interview rounds.

Round 1 - Coding Test 

Moderate coding question

Round 2 - Assignment 

Assignment based on a app

Round 3 - Technical 

(2 Questions)

  • Q1. What is inheritance in java?
  • Ans. 

    Inheritance in Java allows a class to inherit properties and behavior from another class.

    • Inheritance allows for code reusability and promotes a hierarchical relationship between classes.

    • Subclasses can access the methods and fields of their superclass.

    • Example: class Dog extends Animal {} - Dog inherits properties and behavior from Animal class.

  • Answered by AI
  • Q2. Difference between OOP and POP
  • Ans. 

    OOP focuses on objects and classes, while POP focuses on procedures and functions.

    • OOP emphasizes data encapsulation and inheritance

    • POP emphasizes sequential execution of procedures

    • Example of OOP: Java, C++

    • Example of POP: C, Pascal

  • Answered by AI
Round 4 - HR 

(2 Questions)

  • Q1. Where do you see in next 5 years?
  • Q2. What is preferred job location

Skills evaluated in this interview

Software Developer Interview Questions Asked at Other Companies

asked in Amazon
Q1. Maximum Subarray Sum Problem Statement Given an array of integers ... read more
asked in Amazon
Q2. Minimum Number of Platforms Needed Problem Statement You are give ... read more
asked in Rakuten
Q3. Merge Two Sorted Arrays Problem Statement Given two sorted intege ... read more
asked in Cognizant
Q4. Nth Fibonacci Number Problem Statement Calculate the Nth term in ... read more
Q5. Find Duplicate in Array Problem Statement You are provided with a ... read more
Interview experience
1
Bad
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Internshala and was interviewed in Sep 2024. There were 2 interview rounds.

Round 1 - Aptitude Test 

It was easy and main question wweer from mathr

Round 2 - Coding Test 

Question from dsa cp segment tress

Interview Preparation Tips

Interview preparation tips for other job seekers - focus on dsa
Interview experience
3
Average
Difficulty level
Hard
Process Duration
More than 8 weeks
Result
Not Selected

I was interviewed in Apr 2024.

Round 1 - Coding Test 

This round was a one-to-one coding round where the interviewer asked Leetcode Hard questions(2) DSA based questions. Also had to write and explain a few testcases, followed by managerial questions.

Goldman Sachs interview questions for designations

 Software Developer Intern

 (17)

 Software Engineer

 (8)

 Software Analyst

 (5)

 Application Developer

 (2)

 Java Developer

 (1)

 Web Developer

 (1)

 Software Engineer Intern

 (2)

 Senior Software Engineer

 (2)

Software Developer Interview Questions & Answers

user image Virendra Naik

posted on 2 Jul 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Hackerrank : 1 hr
questions on Dp and graphs

Round 2 - Technical 

(1 Question)

  • Q1. Implement fizbuzz game and easy questions on hash maps

Interview Preparation Tips

Interview preparation tips for other job seekers - Go over your resume and highlight your strengths

Get interview-ready with Top Goldman Sachs Interview Questions

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Nov 2023. There were 2 interview rounds.

Round 1 - Coding Test 

Had 2 data structure questions of easy and medium level.

Round 2 - One-on-one 

(1 Question)

  • Q1. Got 2 DSA questions with further modifications of medium level
Interview experience
4
Good
Difficulty level
Hard
Process Duration
2-4 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in Oct 2023. There was 1 interview round.

Round 1 - Coding Test 

About 2 hours long interview in 3 sets one technical and 2 HR rounds

I was interviewed before Sep 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 90 minutes
Round difficulty - Medium

The test was scheduled around 5 evening and it had 3 coding questions. First question was on Dynamic Programming and other was medium question and was easy and the third was based on graph. And there were 20 mcq questions on Data structures, DBMS and OS

  • Q1. 

    Matrix Word Search Problem

    Explanation: You are given an 'M' x 'N' matrix of characters named CHARACTER_MATRIX and a string WORD. Your task is to identify and list all the occurrences of the string within...

Round 2 - Video Call 

(1 Question)

Round duration - 60 minutes
Round difficulty - Easy

Normal Coding question on Graphs and some basics from DBMS

  • Q1. 

    Transitive Closure of Directed Graph Problem Statement

    Given a directed graph with 'V' vertices and 'E' edges, determine if a vertex i is reachable from vertex j for all pairs of vertices (i, j). A vertex...

Round 3 - Video Call 

(1 Question)

Round duration - 60 minutes
Round difficulty - Hard

He asked me to read about Morse language in wikepedia and asked me to write a code on it i. e. If the input Morse code and in output we should get it in English

  • Q1. 

    Morse Code to English Problem Statement

    You are provided with a string of morse code(s) of length N. Your task is to convert this morse code into the corresponding alphanumeric code consisting of lowercas...

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Banasthali University. I applied for the job as SDE - 1 in BangaloreEligibility criteriaAbove 7 CGPAGoldman Sachs interview preparation:Topics to prepare for the interview - Dynamic Programming, Data Structures, Algorithms, Pointers, OOPsTime required to prepare for the interview - 2 monthsInterview preparation tips for other job seekers

Tip 1 : Do all the questions of interview bit atleast twice for those who are not good in coding much. And simultaneously do mcqs from geeks for geeks especially from the topics Data structures, DBMS and Operating system
Tip 2 : Do go through all the dynamic programming questions from geeks for geeks. 
Tip 3 : Practice lot of questions from leetcode.

Application resume tips for other job seekers

Tip 1 : Always keep your resume short 
Tip 2 :Try to keep it on one page . And never put false things on resume and write only those topics that you have thorough knowledge

Final outcome of the interviewSelected

Skills evaluated in this interview

I was interviewed before Sep 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 150 mintues
Round difficulty - Medium

Nice goes i good environment.

  • Q1. 

    Buy and Sell Stock Problem Statement

    Imagine you are Harshad Mehta's friend, and you have been given the stock prices of a particular company for the next 'N' days. You can perform up to two buy-and-sell ...

Round 2 - Video Call 

(1 Question)

Round duration - 90 minutes
Round difficulty - Easy

It happens in a nice environment but internet connection was week.

  • Q1. 

    Delete a Node from a Linked List

    You are provided with a linked list of integers. Your task is to implement a function that deletes a node located at a specified position 'POS'.

    Input:

    The first line co...

Interview Preparation Tips

Eligibility criteriaAbove 8 CGPAGoldman Sachs interview preparation:Topics to prepare for the interview - Pointers, Recursion, Linked List, Binary Search Tree ,Queue, Array ,DP ,GraphTime required to prepare for the interview - 2 MonthsInterview preparation tips for other job seekers

Tip 1 : Prepare your resume well. 
Tip 2 : Deploy your projects so that the interviewer can view it. Also provide a hyperlink on your resume.
Tip 3 : Be thorough with Data Structures and Algorithms. Also prepare well topics such as OS,DBMS.

Application resume tips for other job seekers

Tip 1 : Deploy your projects so that the interviewer can view it. Also provide a hyperlink on your resume
Tip 2 : It's not important to have fancy projects. Only mention those on which you're confident.

Final outcome of the interviewSelected

Skills evaluated in this interview

I was interviewed before Sep 2020.

Round 1 - Telephonic Call 

Round duration - 60 minutes
Round difficulty - Easy

The interviewer called my via phone and simultaneously provided me a link where I had to write the code for a given problem. It was scheduled at 12:30 pm, so timing was not an issue. It was a standard DP question involving a 2D matrix. The question was easy and I was able to code it within given time.

Round 2 - Face to Face 

(1 Question)

Round duration - 60 minutes
Round difficulty - Easy

The interviewer asked me two coding questions in this round.

  • Q1. Write an efficient program to find the sum of the contiguous subarray within a one-dimensional array of numbers that has the largest sum.
  • Ans. 
    • I used Kadane algorithm here to find subarray with maximum sum. It is a standard question for interview.
  • Answered Anonymously
Round 3 - Face to Face 

(1 Question)

Round duration - 60 minutes
Round difficulty - Easy

This was on-site round at their Bangalore office. The interviewer was friendly and helpful. The interview held inside a conference room.

  • Q1. 

    DFS Traversal Problem Statement

    Given an undirected and disconnected graph G(V, E), where V is the number of vertices and E is the number of edges, the connections between vertices are provided in the 'GR...

  • Ans. 
    • As I have to find a number of connected components in an undirected graph so I simply use Depth-first search to solve this question by visiting each element and mapped it to the number of component in which it belongs. At last, I print the vertices of each component.
  • Answered Anonymously
Round 4 - Face to Face 

Round duration - 60 minutes
Round difficulty - Easy

This was the next round of the onsite interviews. Took place in the same conference room as that of the previous round.

Round 5 - Face to Face 

Round duration - 60 minutes
Round difficulty - Easy

This was the third round of the onsite interview. 
 

Interview Preparation Tips

Professional and academic backgroundI completed Software Engineering from Netaji Subhas University Of Technology. I applied for the job as SDE - 1 in BangaloreGoldman Sachs interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, Database, System Design, Operating SystemsTime required to prepare for the interview - 6 MonthsInterview preparation tips for other job seekers

Practice DP based questions as much as you can. Also, be confident during the interview about your solution. For practice, you can prefer Coding Ninjas and Geeks For Geeks.

Application resume tips for other job seekers

Keep it short. Mention the academic and professional projects you've done. Add your educational details properly with percentage or CGPA obtained.

Final outcome of the interviewSelected

Skills evaluated in this interview

Goldman Sachs Interview FAQs

How many rounds are there in Goldman Sachs Software Developer interview?
Goldman Sachs interview process usually has 2 rounds. The most common rounds in the Goldman Sachs interview process are Coding Test, Technical and HR.
What are the top questions asked in Goldman Sachs Software Developer interview?

Some of the top questions asked at the Goldman Sachs Software Developer interview -

  1. randN function : which generates random number in [1,2,3..N] with equal probabi...read more
  2. Print all nodes at a distance k from a given node in binary tr...read more
  3. Puzzle: Using all(8,8,3,3) and only operators(*,/,-,+), make...read more

Tell us how to improve this page.

Goldman Sachs Software Developer Interview Process

based on 9 interviews

1 Interview rounds

  • Coding Test Round
View more
Goldman Sachs Software Developer Salary
based on 183 salaries
₹12 L/yr - ₹44.5 L/yr
224% more than the average Software Developer Salary in India
View more details

Goldman Sachs Software Developer Reviews and Ratings

based on 13 reviews

3.8/5

Rating in categories

4.0

Skill development

4.0

Work-life balance

4.2

Salary

4.3

Job security

3.9

Company culture

3.9

Promotions

4.0

Work satisfaction

Explore 13 Reviews and Ratings
Associate
2.5k salaries
unlock blur

₹10.9 L/yr - ₹41 L/yr

Analyst
1.7k salaries
unlock blur

₹12.7 L/yr - ₹25 L/yr

Vice President
1.7k salaries
unlock blur

₹19 L/yr - ₹71.7 L/yr

Senior Analyst
1.1k salaries
unlock blur

₹5 L/yr - ₹20 L/yr

Financial Analyst
329 salaries
unlock blur

₹2 L/yr - ₹8 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