Upload Button Icon Add office photos

Filter interviews by

Goldman Sachs Java Software Engineer Interview Questions and Answers

Updated 16 Mar 2021

Goldman Sachs Java Software Engineer Interview Experiences

1 interview found

I applied via Company Website and was interviewed in Feb 2021. There were 3 interview rounds.

Interview Questionnaire 

4 Questions

  • Q1. Find the peak in an array in less than O(n) time.
  • Ans. 

    Find peak in array in less than O(n) time

    • Use binary search to find peak element

    • Compare middle element with its neighbors to determine direction

    • Repeat search in direction of larger neighbor until peak is found

  • Answered by AI
  • Q2. Find the next largest in the right side for every array element.
  • Ans. 

    Find the next largest in the right side for every array element.

    • Iterate through the array from right to left

    • Use a stack to keep track of elements

    • Pop elements from stack until a greater element is found

    • If no greater element is found, assign -1

  • Answered by AI
  • Q3. Find the shortest path in 0,1 matrix from (0,0) to (n-1,n-1)
  • Ans. 

    Find shortest path in 0,1 matrix from (0,0) to (n-1,n-1)

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

    • Create a visited matrix to keep track of visited nodes

    • Create a distance matrix to keep track of distance from source node

    • Start BFS from (0,0) and keep updating visited and distance matrices

    • Return distance value at (n-1,n-1) in distance matrix

  • Answered by AI
  • Q4. Find the shortest super common string
  • Ans. 

    Finding the shortest super common string among an array of strings.

    • Create a set of all substrings of the first string

    • Iterate through the remaining strings and remove substrings not present in them

    • Return the shortest remaining substring

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Practice DSA and be fimilar with Core java concept. Best of Luck

Skills evaluated in this interview

Interview questions from similar companies

I applied via Naukri.com and was interviewed in Apr 2021. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Basics of core java, springboot

Interview Preparation Tips

Interview preparation tips for other job seekers - Make java basics clear and have a deep dive into collection framework .

Java Software Engineer Interview Questions Asked at Other Companies

Q1. How do you implement the Executor Framework, and what are its ben ... read more
Q2. Given an array, find the next largest element on the right side f ... read more
asked in Trie Coder
Q3. Can we pass values during object creation?
asked in Trie Coder
Q4. what are exceptions. How many times are there?
Q5. 1. Inheritance 2. Interface vs Abstract class 3. Exception throw ... read more

Interview Preparation Tips

Interview preparation tips for other job seekers - Study basics

Analyst Interview Questions & Answers

IQVIA user image Anonymous

posted on 18 Jul 2021

I applied via Campus Placement and was interviewed before Jul 2020. There were 4 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Tell more about yourself.
  • Q2. Why do you want to work in Data Analytics?

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident. Try to explain projects that you have done in College. If time doesn't permit, just go ahead with the insights.

What people are saying about Goldman Sachs

View All
undercoverops
Verified Icon
1w
currently not working
Goldman Sachs Interview: A Positive Experience!
Just had a pretty good interview experience at Goldman Sachs, Bengaluru for a Prime brokerage and clearing operations role. Two rounds: technical and HR. Interviewers were super polite and professional. Felt good about my answers. The questions were spot-on, testing both technical skills and problem-solving. Still waiting for an update, but overall, it was a positive experience. Fingers crossed! Tips: * Brush up on the core tech stuff * Keep your answers clear and to the point * Stay calm and confident—they're friendly!
Got a question about Goldman Sachs?
Ask anonymously on communities.

I applied via Referral and was interviewed before Aug 2020. There were 5 interview rounds.

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident and should communicate well in English. Be Truth.

Analyst Interview Questions & Answers

IQVIA user image Anonymous

posted on 15 Apr 2021

Interview Questionnaire 

2 Questions

  • Q1. Primary research and secondary research
  • Q2. About my project

Goldman Sachs HR Interview Questions

71 questions and answers

Q. Walk us through your CV.
Q. Which division are you applying for and why do you think you will be a good fit ... read more
Q. What are your hobbies?

Analyst Interview Questions & Answers

IQVIA user image Anonymous

posted on 31 Aug 2021

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

Interview Questionnaire 

1 Question

  • Q1. Where you see yourself after few years

Interview Preparation Tips

Interview preparation tips for other job seekers - Interview was ok but even after final round they don't give positive response as they hold the candidature on hold for more experienced candidates
Are these interview questions helpful?

I applied via Referral and was interviewed before Jun 2021. There were 3 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 tips
Round 2 - Aptitude Test 
Round 3 - Technical 

(1 Question)

  • Q1. Tel me about yourself

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident and be prepared with the work you are performing on a day to day role

I applied via Referral and was interviewed before Jun 2020. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. What is trigger

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident

Skills evaluated in this interview

I applied via Campus Placement and was interviewed before May 2020. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. General questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Its good experience and easy to crack the questions.

Goldman Sachs Interview FAQs

What are the top questions asked in Goldman Sachs Java Software Engineer interview?

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

  1. Find the next largest in the right side for every array elemen...read more
  2. Find the shortest path in 0,1 matrix from (0,0) to (n-1,n...read more
  3. Find the peak in an array in less than O(n) tim...read more

Tell us how to improve this page.

Interview Questions from Similar Companies

WNS Interview Questions
3.3
 • 1.1k Interviews
IQVIA Interview Questions
3.8
 • 496 Interviews
Atos Interview Questions
3.8
 • 394 Interviews
Deutsche Bank Interview Questions
3.9
 • 393 Interviews
Synechron Interview Questions
3.5
 • 382 Interviews
S&P Global Interview Questions
4.0
 • 299 Interviews
Bank of America Interview Questions
4.2
 • 263 Interviews
Gallagher Interview Questions
3.7
 • 246 Interviews
View all
Associate
2.5k salaries
unlock blur

₹19 L/yr - ₹35 L/yr

Analyst
2k salaries
unlock blur

₹11.6 L/yr - ₹21.6 L/yr

Vice President
1.9k salaries
unlock blur

₹36.1 L/yr - ₹60 L/yr

Senior Analyst
1.3k salaries
unlock blur

₹9.1 L/yr - ₹15.1 L/yr

Senior Associate
438 salaries
unlock blur

₹15.9 L/yr - ₹28 L/yr

Explore more salaries
Compare Goldman Sachs with

JPMorgan Chase & Co.

3.9
Compare

Morgan Stanley

3.6
Compare

TCS

3.6
Compare

Amazon

4.0
Compare
write
Share an Interview