Upload Button Icon Add office photos

Filter interviews by

Clear (1)

Goldman Sachs Software Engineer Interview Questions, Process, and Tips

Updated 23 Oct 2024

Top Goldman Sachs Software Engineer Interview Questions and Answers

  • Q1. Serialization and Deserialization of an N-ary Tree Given an N-ary tree where each node has at most 'N' child nodes, the task is to serialize the tree into a sequence of ...read more
  • Q2. Design a Constant Time Data Structure Create a data structure that maintains mappings between keys and values, supporting the following operations in constant time: 1. I ...read more
  • Q3. Simplify Directory Path Problem Statement You are provided with a directory path in Unix-style notation, and your task is to simplify it according to given rules. In a U ...read more
View all 12 questions

Goldman Sachs Software Engineer Interview Experiences

8 interviews found

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

I applied via Recruitment Consulltant and was interviewed in Apr 2024. There were 5 interview rounds.

Round 1 - Coding Test 

F2f virtual coding round

Round 2 - One-on-one 

(2 Questions)

  • Q1. DSA questions were asked
  • Q2. Oops questions were asked
Round 3 - One-on-one 

(2 Questions)

  • Q1. Java questions were asked
  • Q2. Sql questions were asked
Round 4 - One-on-one 

(2 Questions)

  • Q1. System design questions were asked
  • Q2. LLM questions was asked
Round 5 - HR 

(2 Questions)

  • Q1. Behavioural questions were asked
  • Q2. Managerial questions were asked

Interview Preparation Tips

Topics to prepare for Goldman Sachs Software Engineer interview:
  • DSA
  • OOPS
  • Java
  • SQL
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Aptitude , gk, basic eco

Round 2 - Technical 

(1 Question)

  • Q1. Sorting array, linked list data structure

Software Engineer Interview Questions Asked at Other Companies

asked in Qualcomm
Q1. Bridge and torch problem : Four people come to a river in the nig ... read more
asked in Capgemini
Q2. In a dark room,there is a box of 18 white and 5 black gloves. You ... read more
asked in TCS
Q3. Find the Duplicate Number Problem Statement Given an integer arra ... read more
Q4. Tell me something about yourself. Define encapsulation. What is i ... read more
asked in Paytm
Q5. Puzzle : 100 people are standing in a circle .each one is allowed ... read more
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Data structure from stack to bst to graph dp,

Round 2 - Coding Test 

Data structure based , stack to bst to graph dp

Round 3 - cv scan 

(1 Question)

  • Q1. Went through cv completely , cross questions on everything
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I was interviewed before Jan 2023.

Round 1 - Technical 

(1 Question)

  • Q1. Trapping rainwater problem
  • Ans. 

    Trapping rainwater problem

    • The problem involves calculating the amount of rainwater that can be trapped between bars in an elevation map

    • Use two pointers approach to calculate the water trapped at each bar

    • Keep track of the maximum height on the left and right of each bar to calculate the trapped water

  • Answered by AI
Round 2 - Technical 

(2 Questions)

  • Q1. Serach in sorted n*n matrix
  • Ans. 

    Search for a target value in a sorted n*n matrix.

    • Start from the top-right corner or bottom-left corner of the matrix.

    • Compare the target value with the current element and move left or down accordingly.

    • Repeat until the target value is found or the boundaries of the matrix are crossed.

  • Answered by AI
  • Q2. Maximum product subarray
Round 3 - Technical 

(2 Questions)

  • Q1. Iterative binary tree traversal
  • Q2. Create BST from incoming stream of nodes
  • Ans. 

    Create a Binary Search Tree (BST) from an incoming stream of nodes.

    • Start with an empty BST

    • For each incoming node, compare it with the root node and insert it accordingly

    • Repeat the process until all nodes are inserted

  • Answered by AI

Skills evaluated in this interview

Goldman Sachs interview questions for designations

 Software Engineer Intern

 (2)

 Senior Software Engineer

 (2)

 Java Software Engineer

 (1)

 Junior Software Engineer

 (1)

 Associate Software Engineer

 (1)

 Software Development Engineer

 (1)

 Software Developer

 (10)

 Software Analyst

 (5)

I was interviewed before Sep 2020.

Round 1 - Video Call 

(1 Question)

Round duration - 40 minutes
Round difficulty - Easy

Timing: 12PM
Due to covid, the interviews happened over a video call on Zoom. They also shared an IDE link where we could write our code and the interview could see it.
The interviewer was very polite and helpful. She dropped hints in between to help me reach the final solution when I was stuck or needed some clarity. She wanted to check how analytically I could solve the problem. She focused more on my approaches towards the problem.
There was also a brief discussion on my resume and projects.

  • Q1. 

    Serialization and Deserialization of an N-ary Tree

    Given an N-ary tree where each node has at most 'N' child nodes, the task is to serialize the tree into a sequence of bits and then deserialize it back t...

  • Ans. 

    Serialization and deserialization of an N-ary tree involves converting the tree into a sequence of bits and reconstructing the original tree from this format.

    • Serialize the N-ary tree by traversing it in level order and representing each node and its children using a space-separated sequence of integers.

    • Deserialize the serialized tree by parsing the input sequence and reconstructing the tree structure based on the provi...

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 40 minutes
Round difficulty - Medium

Timing: Mid-afternoon
Due to covid, the interviews happened over a video call on Zoom. They also shared an IDE link where we could write our code and the interview could see it.
The interviewer was very polite and helpful. He dropped hints in between to help me reach the final solution when I was stuck or needed some clarity. He wanted to check how analytically I could solve the problem. He focused more on my approaches towards the problem.
There was also a brief discussion on my resume and projects.

  • Q1. 

    Design a Constant Time Data Structure

    Create a data structure that maintains mappings between keys and values, supporting the following operations in constant time:

    1. INSERT(key, value): Add or update t...
  • Ans. 

    Design a constant time data structure for key-value mappings with operations like INSERT, DELETE, SEARCH, GET, GET_SIZE, and IS_EMPTY.

    • Use a hash table to achieve constant time complexity for operations.

    • Implement INSERT, DELETE, SEARCH, GET, GET_SIZE, and IS_EMPTY functions.

    • Ensure key is a string and value is a positive integer.

    • Return appropriate results based on the operation type.

    • Handle edge cases like key not found o

  • Answered by AI
Round 3 - Video Call 

(1 Question)

Round duration - 30 Minutes
Round difficulty - Medium

Timing: Evening
Due to covid, the interviews happened over a video call on Zoom. They also shared an IDE link where we could write our code and the interview could see it.
There was a panel of three people as interviewers in this round.
I was also asked one behaviour questions in this round.

  • Q1. 

    Simplify Directory Path Problem Statement

    You are provided with a directory path in Unix-style notation, and your task is to simplify it according to given rules.

    In a Unix-style file system:

    • A dot (...
  • Ans. 

    Given a Unix-style directory path, simplify it by following certain rules and return the simplified path.

    • Use a stack to keep track of directories while iterating through the input path.

    • Handle cases for '.', '..', and multiple slashes appropriately.

    • Return the simplified path by joining the directories in the stack with '/' separator.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Software Engineering from Delhi Technological University. Eligibility criteriaNo criteria.Goldman Sachs interview preparation:Topics to prepare for the interview - Data Structures, Database Management System, Object-Oriented Programming System Algorithms, Dynamic Programming, Graph, Puzzles, Operating System, Multi-Threading, projects.Time required to prepare for the interview - 10 monthsInterview preparation tips for other job seekers

Tip 1 : Focus on Data Structures and Algorithms. Practising questions based on them every day is the key to succeeding. You can enroll into a Data Structures and Algorithms course by Coding Ninjas. This course helped me build a strong foundation in these topics. I also recommend platforms like LeetCode and InterviewBit for further practice.
Tip 2 : During your interview THINK OUT LOUD!!! It is very important that you voice your approach towards the problem otherwise interviewer will have no clue what you are thinking. 
Tip 3 : Do give mock interviews to some college senior or mentor. They help you understand how to express your thought process better (Think out loud) and also reduce the interview stress and anxiety.

Application resume tips for other job seekers

Tip 1 : In order to make a strong resume you must include at least 2-3 Projects and an intern/work experience. Mention all your skills which you are confident of in your resume. 
Tip 2 : Try to make it of one page only. You can use overleaf to make your resume.

Final outcome of the interviewSelected

Skills evaluated in this interview

Get interview-ready with Top Goldman Sachs Interview Questions

I applied via LinkedIn and was interviewed in Mar 2021. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. All were Ds and algo questions?

Interview Preparation Tips

Interview preparation tips for other job seekers - Be prepared on DS and algo section. Also keep practising on online competitive coding.

Software Engineer Jobs at Goldman Sachs

View all

Software Engineer Interview Questions & Answers

user image Sachin Aglave

posted on 14 Jan 2015

Interview Questionnaire 

4 Questions

  • Q1. Tell me about your internship, B.Tech project(BTP), CV
  • Q2. Implement LRU cache.
  • Ans. 

    Implement LRU cache

    • LRU stands for Least Recently Used

    • It is a cache eviction policy that removes the least recently used item

    • It can be implemented using a doubly linked list and a hash map

    • Newly accessed items are moved to the front of the list

    • When the cache is full, the item at the end of the list is removed

  • Answered by AI
  • Q3. What is virtual memory? Will we need virtual memory even if we have infinite amount of RAM?
  • Ans. 

    Virtual memory is a memory management technique that allows a computer to use more memory than it physically has.

    • Virtual memory uses a combination of RAM and hard disk space to store data.

    • It allows programs to use more memory than is physically available.

    • If a program tries to access memory that is not currently in RAM, it will be swapped in from the hard disk.

    • Even if we had infinite RAM, virtual memory would still be n...

  • Answered by AI
  • Q4. Given an array, Find out maximum length of subarray where max of subarray <= 2*min of subarray
  • Ans. 

    Find maximum length of subarray where max <= 2*min.

    • Iterate through array and keep track of max and min values.

    • Update max length when condition is met.

    • Time complexity: O(n)

  • Answered by AI

Interview Preparation Tips

Round: Resume Shortlist
Experience: No CPI cut off and It was open for all departments.

Round: Test
Experience: In muliple choice question Mostly questions were base on maths, probability, c programs, algorithms, Systems. If you are prepared then Questions were not that much tough. Keep strong concepts of Operating systems. For subjective part, Some problems were from maths proofs, some were from probability, some were from algo. We had to write algorithms. etc
Duration: 180 minutes

Round: Problem Statement
Experience: Questions were doable.

Round: Interview
Experience: Everyone was cool, They made me feel comfortable and then started asking questions.
Tips: If you have good rank in online coding competition, do mention it in CV.Most of the students think that GS asks only probability-puzzles. They did not asked me any question on probability or puzzle. Everything they asked was based on Algorithms problems and Operating system. I think it depends on team for which they are hiring. Most important point is don’t lose hope because you have low CPI or you are not good at something. Keep Operating systems fundamental concepts strong.

General Tips: We should balance in Placement and Compititive online coding. Keep in mind Placements and Compititive online coding are some what different things. Keep on improving our mistakes on daily basis. I would strongly suggest you to do introspection daily it will help you to find out your weaknesses and strong points, where we are going wrong etc. There are two thing on which we shoud focus.1. Preparation (I have told everything requered for preparation).2. Get output of all hard work. How to keep our mind on 100% output while the actual exam(placement).For this, I used to go for physical exercise daily in the morning and medidate for 20-30 minutes. Along with exercise i used to do Sudarshan Kriya(Art of Living). Meditation has lot of power :).
Skill Tips: Keep your OS fundamentals strong. To improve codgin skills practice as many problems as you can. Regularly participate in online coding competitions it really helps to solve or approach any new problem. Many time instead of correct answer the approach to solve the problems is very important. How you think, How you approach the problem is checked in interview.
Skills: Coding Skills, Operating Systems , Problem solving skills
College Name: IIT Guwahati
Motivation: The name GS itself enogh for motivation.

Skills evaluated in this interview

I was interviewed before Mar 2021.

Round 1 - Face to Face 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Medium

Technical round with questions on DSA and OS.

  • Q1. 

    LRU Cache Design Problem Statement

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

    • get(key) - Retrieve the value associated with the...
  • Ans. 

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

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

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

    • When a key is accessed or updated, move it to the front of the linked list to mark it as the most recently used.

    • When the cache reaches...

  • Answered by AI
  • Q2. 

    Maximum of All Subarrays of Size K

    Given an array of non-negative integers and an integer K representing the length of a subarray, your task is to determine the maximum elements for each subarray of size ...

  • Ans. 

    Find the maximum elements for each subarray of size K in a given array.

    • Iterate through the array and maintain a deque to store the indices of elements in decreasing order.

    • Pop elements from the deque that are out of the current window.

    • Keep track of the maximum element in each subarray of size K.

    • Return the maximum elements for each subarray.

  • Answered by AI
  • Q3. What is virtual memory?
  • Ans. 

    Virtual memory is a memory management technique that allows a computer to compensate for physical memory shortages by temporarily transferring data from RAM to disk storage.

    • Virtual memory allows programs to use more memory than is physically available on the system.

    • It helps in multitasking by allowing multiple programs to run simultaneously without running out of memory.

    • Virtual memory uses a combination of RAM and disk...

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAGoldman Sachs interview preparation:Topics to prepare for the interview - Coding Skills, Operating Systems , Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 5 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewRejected

Skills evaluated in this interview

Interview questions from similar companies

Interview Preparation Tips

Round: Test
Experience: Study data interpretation (calculator allowed) and pattern puzzles

Round: Group Discussion
Experience: Two topics (have been same case studies for past 4 years now): - Mobile app improvement - Making a business decision

Round: HR Interview
Experience: Everything depends only on HR interview
Tips: Make a list of your strengths and an example for each!

Round: Technical Interview
Experience: Short, easy and basic questions asked about projects and DS. Pretty chilled

College Name: Sardar Patel Institute of Technology

Software Engineer Interview Questions & Answers

Barclays user image Shubham Srivastava

posted on 30 Jan 2016

Interview Preparation Tips

Round: Test
Experience: General aptitude consisted of quantitative questions .There were 6 questions and suggested time as 10 minutes. Questions were of easy level. Questions based on numbers,distance,time etc..Answers of general aptitude were to be written in textbox. eg ans is 4,write 4. there were no options in quant. Answers were integers an easy.
Technical comprehension involved two paragraphs and questions based on sql.
Logical analysis contained questions of logical deduction mainly.
Program tracing involved finding output of programs(mainly while loop and if else)..
Programming : There was only one question of programming(to be solved in 30 minutes). Code was given and was to be modified.Modification involved like , find out the least salary of employees,... (they used file input output and structures).

Tips: Practice basic aptitude.Concepts should be clear.
Duration: 90 minutes
Total Questions: 18

Skills: Basic C/C++, Logical Thinking, Logical Reasoning, General Aptitude
College Name: NIT Raipur
Contribute & help others!
anonymous
You can choose to be anonymous

Goldman Sachs Interview FAQs

How many rounds are there in Goldman Sachs Software Engineer interview?
Goldman Sachs interview process usually has 3-4 rounds. The most common rounds in the Goldman Sachs interview process are Technical, Coding Test and One-on-one Round.
How to prepare for Goldman Sachs Software Engineer 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 HTML, Investment Banking, Data Structures and Algorithms, Python and SQL.
What are the top questions asked in Goldman Sachs Software Engineer interview?

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

  1. what is virtual memory? Will we need virtual memory even if we have infinite am...read more
  2. Given an array, Find out maximum length of subarray where max of subarray <= 2*...read more
  3. Create BST from incoming stream of no...read more

Recently Viewed

INTERVIEWS

Goldman Sachs

No Interviews

INTERVIEWS

Ascend Telecom Infrastructure

No Interviews

INTERVIEWS

Indus Towers

No Interviews

INTERVIEWS

Indus Towers

No Interviews

INTERVIEWS

Indus Towers

No Interviews

INTERVIEWS

Goldman Sachs

No Interviews

INTERVIEWS

Goldman Sachs

No Interviews

INTERVIEWS

Goldman Sachs

No Interviews

INTERVIEWS

Goldman Sachs

No Interviews

INTERVIEWS

Srei Infrastructure Finance

No Interviews

Tell us how to improve this page.

Goldman Sachs Software Engineer Interview Process

based on 5 interviews

1 Interview rounds

  • Coding Test Round
View more
Goldman Sachs Software Engineer Salary
based on 229 salaries
₹11.5 L/yr - ₹38 L/yr
230% more than the average Software Engineer Salary in India
View more details

Goldman Sachs Software Engineer Reviews and Ratings

based on 15 reviews

3.5/5

Rating in categories

2.7

Skill development

3.7

Work-life balance

3.6

Salary

3.4

Job security

3.9

Company culture

2.8

Promotions

2.9

Work satisfaction

Explore 15 Reviews and Ratings
Risk-Hyderabad-Associate-Software Engineering

Hyderabad / Secunderabad

2-5 Yrs

Not Disclosed

Controllers - Software Engineering - Vice President

Bangalore / Bengaluru

6-7 Yrs

Not Disclosed

Wealth Management-Bengaluru-Vice President-Software Engineering

Bangalore / Bengaluru

6-7 Yrs

Not Disclosed

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