Filter interviews by
I applied via Company Website and was interviewed in Jun 2024. There were 2 interview rounds.
The missing number in the array can be found by calculating the sum of all numbers in the array and then subtracting it from the sum of numbers from 1 to n.
Calculate the sum of all numbers in the array.
Calculate the sum of numbers from 1 to n using the formula n*(n+1)/2.
Subtract the sum of array from the sum of numbers from 1 to n to find the missing number.
Count the number of parenthesis to be removed to make it valid.
Iterate through the string and keep track of open and close parenthesis.
If a close parenthesis is encountered without a corresponding open parenthesis, increment the count of removals.
Return the total count of removals needed to make the string valid.
Find the maximum sub-array with continuous numbers
Iterate through the array and keep track of the current sub-array sum
Update the maximum sum and sub-array indices as you iterate
Handle cases where the array contains negative numbers as well
Example: Input array [2, 3, -4, 5, 7], maximum sub-array is [2, 3, -4, 5, 7]
Count the number of islands in a 2D grid variant, focusing on time complexity.
Use Depth First Search (DFS) or Breadth First Search (BFS) to traverse the grid and mark visited islands.
Optimize by using Union Find data structure to keep track of connected islands.
Time complexity can be O(m*n) where m is the number of rows and n is the number of columns.
1st round was online coding test with 1 DSA problem and one OOPs based problem
Top trending discussions
I applied via Campus Placement and was interviewed before Nov 2021. There were 3 interview rounds.
Moderate level aptitude with basics
Moderate level data structure questions
I applied via Campus Placement and was interviewed before Feb 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Aug 2020. There were 5 interview rounds.
I applied via Referral and was interviewed before Jul 2021. There were 4 interview rounds.
Hacker rank test since it was qa automation requirement
I applied via Referral and was interviewed in Nov 2019. There were 3 interview rounds.
I applied via Approached by Company and was interviewed before Jul 2021. There was 1 interview round.
I applied via Referral and was interviewed before Nov 2020. There were 3 interview rounds.
I applied via Recruitment Consultant and was interviewed in Oct 2020. There were 4 interview rounds.
Some of the top questions asked at the Goldman Sachs Associate Engineer interview -
based on 2 interview experiences
Difficulty level
Duration
based on 9 reviews
Rating in categories
Associate
2.6k
salaries
| ₹19.1 L/yr - ₹35 L/yr |
Analyst
2k
salaries
| ₹11.6 L/yr - ₹21.6 L/yr |
Vice President
1.9k
salaries
| ₹36.3 L/yr - ₹60 L/yr |
Senior Analyst
1.2k
salaries
| ₹9 L/yr - ₹15.1 L/yr |
Senior Associate
478
salaries
| ₹14.9 L/yr - ₹27.6 L/yr |
JPMorgan Chase & Co.
Morgan Stanley
TCS
Amazon