Filter interviews by
Clear (1)
I was interviewed in Aug 2021.
Round duration - 90 Minutes
Round difficulty - Medium
You are given an array/list CHOCOLATES
of size 'N', where each element represents the number of chocolates in a packet. Your task is to distribute these chocolates among 'M'...
The task is to distribute chocolates among students such that the difference between the largest and smallest number of chocolates is minimized.
Sort the array of chocolates packets in ascending order.
Iterate through the array and find the minimum difference between the chocolates packets distributed to students.
Return the minimum difference as the output.
Ninja has a string of characters from 'A' to 'Z', encoded using their numeric values (A=1, B=2, ..., Z=26). The encoded string is given as a sequence of digits (SEQ). The task is t...
The task is to determine the number of possible ways to decode a given sequence of digits back into a string of characters from 'A' to 'Z'.
Use dynamic programming to solve the problem efficiently.
Consider different cases like single digit decoding, double digit decoding, and combinations of both.
Implement a recursive function with memoization to avoid redundant calculations.
Handle edge cases such as '0' and '00' in the...
Round duration - 60 Minutes
Round difficulty - Easy
This round was organized in day time from 2PM - 3PM
1 coding question and 1 code for debugging was given on the coderpad
Interviewer made it quite engaging with lot of discussions
Time complexity and space complexity was also discussed in detail
Given an array/list of strings STR_LIST
, group the anagrams together and return each group as a list of strings. Each group must contain strings that are anagrams of each other.
Group anagrams together in a list of strings.
Iterate through the list of strings and sort each string alphabetically.
Use a hashmap to group anagrams together based on the sorted string as key.
Return the values of the hashmap as the grouped anagrams.
Round duration - 50 Minutes
Round difficulty - Medium
This round began with detail introduction about me , college and my previous company. Then my projects were discussed in detail . Focus was on company projects, one machine learning based project done during college was also discussed in detail.
There were 2 interviewers ,cross questioning one after other, but it was still a good conversation. I felt like it would be a rapid fire round due to 2 interviewers but it was really good , no pressure and discussion went quite well. After introduction, I was asked a trie based question and another one I approached using heap and interviewers were satisfied with answer of both solutions
You are given a string text
and a string pattern
. Your task is to find all occurrences of pattern
in the string text
and return an array of indexes of all those...
Implement Boyer Moore Algorithm to find all occurrences of a pattern in a given text.
Use Boyer Moore Algorithm to efficiently search for the pattern in the text.
Iterate through the text and compare the pattern with each substring to find matches.
Return an array of indexes where the pattern is found, or -1 if no occurrence is found.
Tip 1 : During preparation as a working professional, try to utilize weekends and take mock tests for sure
Tip 2 : Select an online coding prlatform and practise atleast one question a day
Tip 1 : Keep it of one page if possible and mention keywords on resume which are mentioned on the job description if you have matching skills
Tip 2 : Don't put skills which you are not confident on.
I applied via Campus Placement and was interviewed before Dec 2022. There were 6 interview rounds.
There were 3 coding questions with medium difficulty level.
Good knowledge in logical reasoning and mathematics (especially probability) is required.
2 array based questions
1 array and 1 linked list based questions were asked
I was interviewed before May 2021.
Round duration - 90 Minutes
Round difficulty - Medium
Test was at 11am, we were gicing the test from home, aand were asked to switch on the web camera, and there was tab monitoring. The test had negative marking as well for MCQ questions +5, -2, so only answer those question which you are absolutely sure of.
You are tasked with finding the greatest common divisor (GCD) of two given numbers 'X' and 'Y'. The GCD is defined as the largest integer that divides both of the...
Finding the greatest common divisor (GCD) of two given numbers 'X' and 'Y'.
Iterate through each test case and calculate GCD using Euclidean algorithm
Handle edge cases like when one of the numbers is 0
Output the GCD for each test case
Round duration - 60 Minutes
Round difficulty - Easy
Interview started at around 10:30am
Consider a circular path with N petrol pumps. Each pump is numbered from 0 to N-1. Every petrol pump provides:
The task is to find the first petrol pump from which a truck can complete a full circle or determine if it's impossible.
Iterate through each petrol pump and calculate the remaining petrol after reaching the next pump.
If the remaining petrol is negative at any point, reset the starting pump to the next pump and continue.
If the total remaining petrol at the end is non-negative, return the index of the starting pump.
If th...
Round duration - 60 Minutes
Round difficulty - Easy
Started at around 1pm, Interviewer was a senior person from hiring team
A parking lot system is designed to efficiently manage parking spaces and provide convenience to users.
The design includes entry and exit points for vehicles.
Parking spaces are clearly marked and organized for easy navigation.
There may be designated areas for different types of vehicles, such as compact cars or motorcycles.
The system may incorporate technology like sensors or cameras to monitor occupancy and assist in ...
Round duration - 60 Minutes
Round difficulty - Medium
Final round, with Senior person non-hiring team
Tip 1 : Try out basic leetcode questions
Tip 2 : Speak out the logic with the interviewer, they are testing your analytical skills, not how correctly you know the syntax
Tip 1 : Don't lie on resume
Tip 2 : Make sure that whatever is on resume, you go thorough with each topic/project
I applied via Recruitment Consulltant and was interviewed before Jan 2022. There were 2 interview rounds.
2 DSA questions, leetcode medium level. Duration 1 hour
Goldman Sachs interview questions for designations
I applied via Recruitment Consultant and was interviewed in Jul 2021. There were 4 interview rounds.
Get interview-ready with Top Goldman Sachs Interview Questions
I applied via Company Website and was interviewed in Jan 2021. There were 4 interview rounds.
There are infinite ways to sort an infinite array with varying complexities.
Sorting algorithms like QuickSort, MergeSort, HeapSort, etc. can be used to sort the array.
The time complexity of sorting algorithms varies from O(n log n) to O(n^2).
The space complexity also varies depending on the algorithm used.
Sorting an infinite array is not practical, so it is usually done in chunks or using parallel processing.
The sortin...
I was interviewed before Oct 2020.
Round duration - 90 minutes
Round difficulty - Medium
The round was divided into 5 parts.
1st part - 2 easy coding questions
2nd part - 7 MCQs
3rd part - 8 MCQs
4th part - 1 hard coding question
5th part - 2 ethical based questions
Design a data structure for a Least Recently Used (LRU) cache that supports the following operations:
1. get(key)
- Return the value of the key if it exists in the cache; otherw...
Design a Least Recently Used (LRU) cache data structure that supports get and put operations with capacity constraint.
Implement a doubly linked list to keep track of the order of keys based on their recent usage.
Use a hashmap to store key-value pairs for quick access.
When capacity is reached, evict the least recently used item before inserting a new item.
Update the order of keys in the linked list whenever a key is acc
Given an array ARR
consisting of N
integers, your goal is to determine the maximum possible sum of a non-empty contiguous subarray within this array.
The goal is to find the maximum sum of a non-empty contiguous subarray within an array of integers.
Iterate through the array and keep track of the maximum sum of subarrays encountered so far.
Use Kadane's algorithm to efficiently find the maximum subarray sum.
Consider edge cases like all negative numbers in the array.
Example: For input [1, -3, 4, -2, -1, 6], the maximum subarray sum is 7 (subarray [4, -2, -1, 6]).
Given a binary matrix of size N * M
where each element is either 0 or 1, find the shortest path from a source cell to a destination cell, consisting only...
Find the shortest path in a binary matrix from a source cell to a destination cell consisting only of 1s.
Use Breadth First Search (BFS) algorithm to find the shortest path.
Keep track of visited cells to avoid revisiting them.
Calculate the path length by counting the number of 1s in the path.
Return -1 if no valid path exists.
Tip 1 : For Goldman Sachs, puzzles are a must.
Tip 2 : Competitive Programming is also necessary for most job interviews.
Tip 3 : Practise mock interviews among your friends.
Tip 1 : Make your resume crisp and clear.
Tip 2 : Have at least two projects on your resume.
Tip 3 : You can take the help of someone to verify any grammatical mistakes and the formation of sentences.
I applied via Recruitment Consultant and was interviewed before Sep 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed before Jul 2021. There were 2 interview rounds.
It was difficult aptitude test. One need to be well versed in aptitude and coding ( any programming language).
I was interviewed in Dec 2016.
Top trending discussions
Some of the top questions asked at the Goldman Sachs Analyst interview -
The duration of Goldman Sachs Analyst interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 38 interviews
7 Interview rounds
based on 138 reviews
Rating in categories
Bangalore / Bengaluru
1-5 Yrs
Not Disclosed
Associate
2.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
Analyst
1.7k
salaries
| ₹0 L/yr - ₹0 L/yr |
Vice President
1.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Analyst
1.1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Financial Analyst
325
salaries
| ₹0 L/yr - ₹0 L/yr |
JPMorgan Chase & Co.
Morgan Stanley
TCS
Amazon