Filter interviews by
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
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...
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
I applied via Referral and was interviewed in May 2024. There were 4 interview rounds.
Moderate coding question
Assignment based on a app
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.
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
I applied via Internshala and was interviewed in Sep 2024. There were 2 interview rounds.
It was easy and main question wweer from mathr
Question from dsa cp segment tress
I was interviewed in Apr 2024.
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
Hackerrank : 1 hr
questions on Dp and graphs
Get interview-ready with Top Goldman Sachs Interview Questions
I applied via Naukri.com and was interviewed in Nov 2023. There were 2 interview rounds.
Had 2 data structure questions of easy and medium level.
I applied via LinkedIn and was interviewed in Oct 2023. There was 1 interview round.
About 2 hours long interview in 3 sets one technical and 2 HR rounds
I was interviewed before Sep 2020.
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
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 duration - 60 minutes
Round difficulty - Easy
Normal Coding question on Graphs and some basics from DBMS
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 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
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...
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.
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
I was interviewed before Sep 2020.
Round duration - 150 mintues
Round difficulty - Medium
Nice goes i good environment.
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 duration - 90 minutes
Round difficulty - Easy
It happens in a nice environment but internet connection was week.
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'.
The first line co...
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.
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.
I was interviewed before Sep 2020.
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 duration - 60 minutes
Round difficulty - Easy
The interviewer asked me two coding questions in this round.
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.
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...
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 duration - 60 minutes
Round difficulty - Easy
This was the third round of the onsite interview.
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 seekersKeep 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 interviewSelectedTop trending discussions
Some of the top questions asked at the Goldman Sachs Software Developer interview -
based on 9 interviews
1 Interview rounds
based on 13 reviews
Rating in categories
Associate
2.5k
salaries
| ₹10.9 L/yr - ₹41 L/yr |
Analyst
1.7k
salaries
| ₹12.7 L/yr - ₹25 L/yr |
Vice President
1.7k
salaries
| ₹19 L/yr - ₹71.7 L/yr |
Senior Analyst
1.1k
salaries
| ₹5 L/yr - ₹20 L/yr |
Financial Analyst
329
salaries
| ₹2 L/yr - ₹8 L/yr |
JPMorgan Chase & Co.
Morgan Stanley
TCS
Amazon