Upload Button Icon Add office photos

Filter interviews by

Clear (1)

Goldman Sachs Software Engineer Intern Interview Questions and Answers

Updated 14 Feb 2024

Goldman Sachs Software Engineer Intern Interview Experiences

2 interviews found

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Aug 2023. There were 2 interview rounds.

Round 1 - Coding Test 

One easy and two medium leetcode

Round 2 - Video Call 

(2 Questions)

  • Q1. What motivates you
  • Q2. Tell me about yourself

Interview Preparation Tips

Interview preparation tips for other job seekers - Practice leetcode

I was interviewed before Sep 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 Miinutes
Round difficulty - Medium

This round contains 20 MCQ questions and 2 Coding questions and It was 90 minutes round
Timings were of the morning
This round was online on hackerrank platform
There was proper procuring with web cam 
MCQ questions were from aptitude and oops section
Coding Questions : 1st question is medium level question, 2nd was a little bit tough question for me
Overall it was medium level in toughness

  • Q1. 

    Connecting Ropes with Minimum Cost

    You are given 'N' ropes, each of varying lengths. The task is to connect all ropes into one single rope. The cost of connecting two ropes is the sum of their lengths. Yo...

  • Ans. 

    The problem is to connect N ropes of different lengths into one rope with minimum cost.

    • Sort the array of rope lengths in ascending order.

    • Initialize a variable to keep track of the total cost.

    • While there are more than one rope remaining, take the two shortest ropes and connect them.

    • Add the cost of connecting the two ropes to the total cost.

    • Replace the two shortest ropes with the connected rope.

    • Repeat the above steps unt

  • Answered by AI
  • Q2. 

    Zero Matrix Problem Statement

    You are given a matrix MATRIX of dimension N x M. Your task is to make all the elements of row i and column j equal to 0 if any element in the ith row or jth column of the ma...

  • Ans. 

    The task is to modify a given matrix such that if any element in a row or column is 0, then make all elements in that row and column 0.

    • Iterate through the matrix and keep track of rows and columns that contain 0s

    • After the first iteration, iterate through the tracked rows and columns and set all elements to 0

    • Handle the case where the first row or column contains 0 separately

    • To solve with O(1) space complexity, use the f...

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 30 Minutes
Round difficulty - Medium

Timing = afternoon
Environment : it was on zoom call
Interviewer was friendly, he asked one question that was tough

  • Q1. 

    Similar Strings Problem Statement

    Determine whether two given strings, A and B, both of length N, are similar by returning a 1 if they are, otherwise return a 0.

    Explanation:

    String A is similar to stri...

  • Ans. 

    The task is to determine if two strings are similar based on the given conditions.

    • Check if the strings are equal, if yes, return 1

    • Divide both strings into two parts and check if any combination satisfies the similarity condition

    • If none of the conditions hold true, return 0

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as Software Engineer Intern in BangaloreEligibility criteriaCGPA > 6.5Goldman Sachs interview preparation:Topics to prepare for the interview - Data structures and algorithms, Object Oriented Programming, Operating system, Database Management, C++Time required to prepare for the interview - 3 MonthsInterview preparation tips for other job seekers

Tip 1 : Learn all basic data structures and algorithms 
Tip 2 : Try to solve some Aptitude questions
Tip 3 : Practice Lot of questions in C++

Application resume tips for other job seekers

Tip 1 : include at least one good project and prepare for it well
Tip 2 : make your resume Simple, One paged and well structures(you can use online templates)

Final outcome of the interviewRejected

Skills evaluated in this interview

Software Engineer Intern Interview Questions Asked at Other Companies

Q1. Check if Two Trees are Mirror Given two arbitrary binary trees, y ... read more
Q2. Connecting Ropes with Minimum Cost You are given 'N' ropes, each ... read more
Q3. Zero Matrix Problem Statement You are given a matrix MATRIX of di ... read more
Q4. Similar Strings Problem Statement Determine whether two given str ... read more
Q5. Partition Array Minimizing Subset Sum Difference Given an array c ... read more

Interview questions from similar companies

Interview Preparation Tips

Round: Technical Interview
Experience: Technical on paper test questions:(dis was only for 12 among d 26 shortlisted ppl after apti...others directly had interviews)
5 wer selected in this test who wer nw sent for interviews
TECHNICAL INTERVIEW: (pls list the questions asked in all the rounds)
26 shortlisted after apti (14 directly for interviews & 12 had one more technical on paper test...mentioned above)
der wer min 2 technical rounds for each of them...max were 5

- You are given course dependencies
A->B,C
B->D
C->A
D->nothing
The above dependencies mean...if you want to take course A...you should take courses B and C first....To take B,Course D must be taken first....D is an independent course and can be taken without any prior requirements.
Now you are told these dependencies.Come up with an appropriate data structure to represent these dependencies.Then write a code that finds out all the courses that the student can take up...in this case the student can first take course D because its independent.Now that course D has been taken he can next take up B as it depends on B alone...But the courses A and C can never be taken because they depend on each other...So here all the courses that can be taken are B and D.
After i wrote the code....he asked for all possible test cases
-Given an array of length N....It can be filled with nos. only from 1 to N....find which nos are repeated in the array
-Given pointers to two nodes in a binary tree....find their least common ancestor...each node has pointer to only the parent node...not the left and right child..
-In a binary tree(Not necessarily a BST)...suppose the weight of any node is defined as the product of the key value of the node and the level of the node(Root at level 1)...find the node with maximum weight in the binary tree
-A sorted array of size n is right circularly rotated k times and this rotated array is given to you as input...Find out the value of k in log n time .
-There are some processes running at time T....and there are processes running at time T+30.
You have to find out
1)Which processes died at time T+30,which were alive at time T
2)Which are the new processes at time T+30,which were not there at time T
3)Which are the processes that were there at time T and are still running at time T+30
What data structure will you use to represent the process lists and write code to find out the answers to the 3 questions above
-Given a binary search tree...and a target sum...starting at the root...which all paths add up to the target sum?...if there are multiple paths....return the path with least no. of nodes.


College Name: Veermata Jijabai Technological Institute, Mumbai [ VJTI ]

Interview Questionnaire 

11 Questions

  • Q1. What is the difference between multi tasking, multi processing and multi programming operating systems with examples ?
  • Ans. 

    Multi tasking, multi processing, and multi programming are different approaches to managing tasks in an operating system.

    • Multi tasking allows multiple tasks to run concurrently on a single processor.

    • Multi processing involves multiple processors running tasks simultaneously.

    • Multi programming allows multiple programs to be loaded into memory and executed concurrently.

    • Examples of multi tasking operating systems include Wi...

  • Answered by AI
  • Q2. Tell me about memory allocation (stack vs. heap)?
  • Ans. 

    Memory allocation refers to the process of assigning memory to programs during runtime.

    • Stack allocation is done automatically and is limited in size.

    • Heap allocation is done manually and is larger in size.

    • Stack memory is used for local variables and function calls.

    • Heap memory is used for dynamic memory allocation.

    • Memory leaks can occur if heap memory is not properly managed.

  • Answered by AI
  • Q3. You have two threads one printing even numbers in order and other odd numbers. Design an algorithm so that it prints numbers in natural order?
  • Ans. 

    Use a shared variable and synchronization mechanisms to ensure natural order printing of numbers.

    • Create two threads, one for printing even numbers and the other for printing odd numbers.

    • Use a shared variable to keep track of the current number to be printed.

    • Implement synchronization mechanisms like locks or semaphores to ensure only one thread can access the shared variable at a time.

    • Each thread should check if it is i...

  • Answered by AI
  • Q4. Print a matrix in spiral order?
  • Ans. 

    Printing a matrix in spiral order

    • Start from the first element and print it

    • Move in a spiral order towards the center of the matrix

    • Repeat until all elements are printed

  • Answered by AI
  • Q5. Thread class and Runnable Interface?
  • Ans. 

    Thread class and Runnable Interface are used for multithreading in Java.

    • Thread class is a predefined class in Java that provides methods to create and control threads.

    • Runnable interface is used to define a task that can be executed by a thread.

    • Thread class implements Runnable interface.

    • Thread class provides more control over threads than Runnable interface.

    • Example: Thread t = new Thread(new MyRunnable()); t.start();

    • Exa...

  • Answered by AI
  • Q6. What’s the difference between a Linked List and an ArrayList and give me an example of when to use which?
  • Ans. 

    Linked List is a dynamic data structure while ArrayList is a static data structure.

    • Linked List is best for frequent insertion and deletion operations.

    • ArrayList is best for frequent access operations.

    • Linked List uses more memory than ArrayList.

    • ArrayList is faster than Linked List for accessing elements.

    • Use Linked List when you need to frequently add or remove elements from the list.

    • Use ArrayList when you need to frequen

  • Answered by AI
  • Q7. Questions of OS concepts?
  • Q8. A role play scenario was given. With a clear instruction on I don’t need to know the basis and the hypothetical assumption was presented. I was told that I was expected to respond to the given scenario, in...
  • Q9. Why are you interested in a career in investment banking?
  • Ans. 

    I am not interested in a career in investment banking.

    • I am more interested in a career in software development

    • I enjoy problem-solving and creating innovative solutions through coding

    • Investment banking does not align with my passion and skill set

  • Answered by AI
  • Q10. Why have you chosen to apply to J.P. Morgan?
  • Ans. 

    I have chosen to apply to J.P. Morgan because of their reputation, global presence, and opportunities for growth.

    • J.P. Morgan has a strong reputation in the financial industry.

    • They have a global presence with offices in multiple countries.

    • The company offers various opportunities for career growth and development.

    • J.P. Morgan is known for its innovative technology solutions in the financial sector.

    • I am impressed by their ...

  • Answered by AI
  • Q11. Have you ever made a mistake? Tell us about it?
  • Ans. 

    Yes, I have made a mistake in my previous project.

    • I underestimated the complexity of a task and ended up missing the deadline.

    • I failed to properly test a feature, resulting in a bug that affected user experience.

    • I accidentally deleted an important file without having a backup.

    • I misunderstood a requirement and implemented a feature incorrectly.

  • Answered by AI

Interview Preparation Tips

Round: Test
Total Questions: 1

General Tips: Interview Process: Aptitude test, followed by 3 rounds of interview. Interview process was very good. Just be positive to clear the interview.
Check this link before appearing for interview with JP Morgan. It will help  -----
Skills: Algorithm, Data structure, Stack
College Name: Na

Skills evaluated in this interview

Interview Questionnaire 

11 Questions

  • Q1. 1st technical round
  • Q2. How you will find the smallest of 4 numbers without using >.< and min function using java
  • Ans. 

    Finding smallest of 4 numbers without using >.< and min function in Java.

    • Initialize a variable with the first number

    • Compare it with the remaining numbers using if-else statements

    • If a smaller number is found, update the variable

    • Repeat until all numbers are compared

    • The final value of the variable will be the smallest number

  • Answered by AI
  • Q3. Write a code for palindrome
  • Ans. 

    Code for palindrome checking

    • Convert the input to lowercase to ignore case sensitivity

    • Use two pointers, one at the start and one at the end of the string

    • Compare the characters at both pointers and move them towards each other

    • If all characters match, it's a palindrome

  • Answered by AI
  • Q4. Write any javascript code
  • Ans. 

    Javascript code to display 'Hello World!' on the webpage

    • Create a new HTML file

    • Add a script tag with 'type' attribute set to 'text/javascript'

    • Inside the script tag, use document.write() to display 'Hello World!'

  • Answered by AI
  • Q5. Swap two number without using temperory variable
  • Ans. 

    Swap two numbers without using a temporary variable.

    • Use addition and subtraction to swap the values

    • Use XOR operator to swap the values

    • Use multiplication and division to swap the values

  • Answered by AI
  • Q6. How you will add 2 table
  • Ans. 

    To add 2 tables, we need to use a join operation on a common column.

    • Identify the common column between the tables

    • Choose the appropriate join type (inner, outer, left, right)

    • Write the SQL query to join the tables

    • Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column

  • Answered by AI
  • Q7. Difference between union and union all
  • Ans. 

    Union combines and removes duplicates, Union All combines all rows including duplicates.

    • Union is used to combine the result sets of two or more SELECT statements and remove duplicates.

    • Union All is used to combine the result sets of two or more SELECT statements and includes all rows, including duplicates.

    • Union is slower than Union All as it has to remove duplicates.

    • Union requires the same number of columns in all SELEC...

  • Answered by AI
  • Q8. They provide an instance, and tell us to write a query for that
  • Q9. Tell me about yourself
  • Q10. The worst situation during your internship period
  • Ans. 

    Being assigned a project with unrealistic deadlines and minimal guidance

    • Received a project with tight deadlines and unclear requirements

    • Struggled to meet the deadlines due to lack of guidance and support

    • Had to work long hours and weekends to try to complete the project

    • Learned the importance of clear communication and setting realistic expectations

  • Answered by AI
  • Q11. How you will overcome from that worst situation

Interview Preparation Tips

Round: Test
Experience: The question were not that much difficult. Many apti questions are easy. Technical was very easy for me.
The questions were fully based on java, c and SQL. 7 to 8 questions are from SQL. But all are straight forward questions. Other 2 sections were easy and any student who had a good sort of thinking ability can able to solve those questions.
Tips: Just refer all the basic topics in java, c and sql.
Duration: 60 minutes
Total Questions: 50

Round: Technical Interview
Experience: It was fully based on the final sem project which i was doing.
Since my project is company's employee portal, i was asked about that. They will dig into deep with respect to that project.
Tips: U should be aware of each and everything in your project which you are going to explain them. The question which they use to ask is really unpredictable.

Round: Technical Interview
Experience: This is pure technical round where i was asked the questions which is easy but takes time to think. Anyhow, i answered all these questions and get into the next round.
Tips: Logical thinking matters. Though questions look easier, sometimes we co calculate with wrong manner.
So keep calm and think in a broader manner.

Round: Technical Interview
Experience: Technical round with pure database stuffs. I was asked only few question in this. Since it was straight forward, i answered all the questions.

Round: HR Interview
Experience: Confidence really matters. Though i was not that much good in conversing, i spoke with brave and confidently which makes me to became a part of the barclays team.

General Tips: Be confident enough and answer them what you know.
Talking too much as well as taking less is also a problematic.
Skills: Logical thinking, Technical skills ( Especially about database )
College Name: MANIPAL INSTITUTE OF TECHNOLOGY, MANIPAL
Motivation: Credits should goes to my bro who motivates me to apply to this comapny.

Skills evaluated in this interview

I applied via Campus Placement

Interview Questionnaire 

4 Questions

  • Q1. Explain the background process that takes place during an atm transaction
  • Ans. 

    ATM transaction involves multiple background processes including authentication, authorization, and communication with bank servers.

    • Customer inserts card and enters PIN

    • ATM authenticates the card and PIN

    • ATM requests authorization from bank server

    • Bank server verifies account balance and approves or denies transaction

    • ATM dispenses cash or completes other requested transaction

    • ATM updates account balance and sends transacti

  • Answered by AI
  • Q2. Cut cake into 8 pieces .You can use knife 3 times only
  • Ans. 

    Cut cake into 8 pieces using knife 3 times only.

    • First, cut the cake horizontally into two equal halves.

    • Then, cut the cake vertically into four equal pieces.

    • Finally, cut the cake horizontally again into eight equal pieces.

    • Make sure to use the knife efficiently to minimize the number of cuts.

    • Practice visualization before making the cuts to avoid mistakes.

  • Answered by AI
  • Q3. A shot fired from a gun pointing towards a tree full of birds. All birds left except one. Why ?
  • Ans. 

    The one bird was already dead.

    • The bird was already dead before the shot was fired.

    • The bird was injured and unable to fly away with the rest of the birds.

    • The bird was a decoy bird used for hunting purposes.

    • The bird was a trained bird used for falconry.

  • Answered by AI
  • Q4. Explain projects which you made in college?
  • Ans. 

    Developed a web-based attendance management system and a mobile app for event management.

    • Created a database schema and implemented CRUD operations using PHP and MySQL.

    • Designed the user interface using HTML, CSS, and JavaScript.

    • Integrated Google Maps API for location tracking in the mobile app.

    • Implemented push notifications using Firebase Cloud Messaging.

    • Collaborated with a team of four to complete the projects within t

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: The question paper was a mix of aptitude, programming of c++ java , sql and reasoning.
There was negative marking set for each questions.
Tips: Attempt that portion first in which you are really confident.
Dont try to attempt all questions , as negative marking plays big role.
Duration: 60 minutes

Round: Technical Interview
Experience: As Barclays is a bank , so this kind of question is obvious.
Be prepared for technical process that takes place in a usual banking domain.
Also , any type of question whether reasoning based or technical can be asked.
Tips: Be confident. Try to tell everything in a straight manner.

Round: Case Study Interview
Experience: You can put humour while answering as this shows your positivity.
There can be many reason for this like birds ia dead , bird is deaf , bird is of plastic. You can choose whatever hit into your mind.

Round: Behavioural Interview
Experience: Explaining the thing in which you already have knowledge is a plus point.
But make sure you have complete knowledge of your college project as they can ask as many questions as possible because your project is the main thing which can extend your interview time.

Skills: Common Sense, Presence Of Mind, Positive Thinking, Ability To Deliver On A Project, C Programming
College Name: UPTU
Motivation: As it is a product based company , so chances of growth is good and pay scale is better.

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

I applied via Campus Placement

Interview Preparation Tips

Round: Test
Experience: Was nice experience,should have good aptitude.
Tips: Learn aptitude more and morr
Duration: 60 minutes

Round: Group Discussion
Experience: Just speak about the topic
Tips: Do not get silent

Round: Technical Interview
Experience: iOS,C/C++
Tips: Just be confident about your answwers ansd show that you are capable to do each and everything in this world and you have quick learning capacity to grasp anything.

General Tips: C/C++,
Skills:
College Name: CDAC PUNE
Motivation: Bank more than 325 years old.

Interview Preparation Tips

Round: Test
Experience: It was an easy test overall, basic programming things were asked in technical part of test whereas aptitude questions were also relatively easy.
Tips: You just need to know things which were there in CS101 for technical part of test .Nothing else is required.
Duration: 30 minutes
Total Questions: 1

Skills: Problem
College Name: Indian Institute of Technology, Bombay
Contribute & help others!
anonymous
You can choose to be anonymous

Goldman Sachs Interview FAQs

How many rounds are there in Goldman Sachs Software Engineer Intern interview?
Goldman Sachs interview process usually has 2 rounds. The most common rounds in the Goldman Sachs interview process are Coding Test and Video Call.

Recently Viewed

PHOTOS

InsuranceDekho

3 office photos

LIST OF COMPANIES

Credit Bajaar

Overview

INTERVIEWS

Mirafra Technologies

No Interviews

INTERVIEWS

Infosys

No Interviews

SALARIES

National Stock Exchange of India

INTERVIEWS

KPIT Technologies

No Interviews

INTERVIEWS

Amazon

No Interviews

INTERVIEWS

Pisolv Tech

No Interviews

INTERVIEWS

Onextel Media

No Interviews

SALARIES

National Stock Exchange of India

Tell us how to improve this page.

Goldman Sachs Software Engineer Intern Interview Process

based on 2 interviews

Interview experience

4
  
Good
View more

Interview Questions from Similar Companies

Wells Fargo Interview Questions
3.8
 • 563 Interviews
HSBC Group Interview Questions
4.0
 • 484 Interviews
IQVIA Interview Questions
3.9
 • 464 Interviews
Atos Interview Questions
3.9
 • 370 Interviews
Synechron Interview Questions
3.5
 • 362 Interviews
Deutsche Bank Interview Questions
3.9
 • 361 Interviews
UBS Interview Questions
3.9
 • 331 Interviews
Morgan Stanley Interview Questions
3.7
 • 291 Interviews
S&P Global Interview Questions
4.1
 • 275 Interviews
View all
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