Filter interviews by
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 idea is that generate all the possible subsets of size ‘M’ and checks the minimum difference that can be possible from all subsets.
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...
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.
The idea behind this approach is that two or more than two strings are anagrams if and only if their sorted strings are equal. So we will use a HashMap, let’s say “anagramGroup”, where each key is a sorted string, and the key will be mapping to the list of indices from the given list of strings that form a group of anagrams. This means that if we sort the strings at those indices, we will get the ...
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...
The idea is to find out which character mismatches in the text from the pattern that is the character of the text that doesn't match with the current character of the pattern and we call that character a bad character.
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 at National Institute of Technology (NIT), Calicut 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...
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:
Round duration - 60 Minutes
Round difficulty - Easy
Started at around 1pm, Interviewer was a senior person from hiring team
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...
We will use an array of type Pair<key, value> to implement our LRU Cache where the larger the index is, the more recently the key is used. Means, the 0th index denotes the least recently used pair, and the last index denotes the most recently used pair.
The key will be considered as accessed if we try to perform any operation on it. So while performing the get operation on a key, we will do a ...
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.
We will iterate through all possible boundaries of the subarrays in the given array with the help of two nested loops.
Then, we will iterate through each subarray with the help of another loop and find the sum of the subarray. We will maintain the maximum subarray sum through our iterations and finally return it.
Space Complexity: O(1)Explanation:O(1), constant space is used.
Time Complexity: O(n^3...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...
To find the shortest path in the Binary Matrix, we search for all possible paths in the Binary Matrix from the source cell to the destination cell until all possibilities are exhausted. We can easily achieve this with the help of backtracking.
We start from the given source cell in the matrix and explore all four paths possible and recursively check if they will lead to the destination or not. Out of a...
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 at NMAM Institute of Technology, Mangalore 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).
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 137 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