Add office photos
Employer?
Claim Account for FREE

Goldman Sachs

3.6
based on 1.2k Reviews
Filter interviews by

10+ IMS Groups Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations
Q1. Puzzle

On an Island, there is an airport that has an unlimited number of identical air-planes. Each air-plane has a fuel capacity to allow it to fly exactly 1/2 way around the world, along a great circle. The pl...read more

Add your answer
Q2. Maximum of all subarrays of size k

You are given an array consisting of N non-negative integers, and an integer K denoting the length of a subarray, your task is to determine the maximum elements for each subarr...read more

View 4 more answers
Q3. LRU Cache

Design and implement a data structure for Least Recently Used (LRU) cache to support the following operations:

1. get(key) - Return the value of the key if the key exists in the cache, otherwise return...read more
View 3 more answers
Q4. Serialize and Deserialize an N-ary tree

You are given an N-ary tree where every node has at most ‘N’ child nodes. You need to first serialize it and then deserialize the serialized tree.

Add your answer
Discover IMS Groups interview dos and don'ts from real experiences
Q5. Implementation: HashMap

Design a data structure that stores a mapping of a key to a given value and supports the following operations in constant time.

1. INSERT(key, value): Inserts an integer value to the data...read more
Add your answer
Q6. Simplify the Directory

You are given a path to a file/directory in Unix-style of length N, In a Unix-style file system, a dot(.) refers to the current directory. A double dot(..) refers to the previous directory...read more

Add your answer
Are these interview questions helpful?

Q7. what is virtual memory? Will we need virtual memory even if we have infinite amount of RAM?

Ans.

Virtual memory is a memory management technique that allows a computer to use more memory than it physically has.

  • Virtual memory uses a combination of RAM and hard disk space to store data.

  • It allows programs to use more memory than is physically available.

  • If a program tries to access memory that is not currently in RAM, it will be swapped in from the hard disk.

  • Even if we had infinite RAM, virtual memory would still be necessary for certain tasks such as memory isolation and pr...read more

Add your answer

Q8. Given an array, Find out maximum length of subarray where max of subarray <= 2*min of subarray

Ans.

Find maximum length of subarray where max <= 2*min.

  • Iterate through array and keep track of max and min values.

  • Update max length when condition is met.

  • Time complexity: O(n)

Add your answer
Share interview questions and help millions of jobseekers 🌟
Q9. Operating System Question

What is Virtual Memory?

Add your answer

Q10. Create BST from incoming stream of nodes

Ans.

Create a Binary Search Tree (BST) from an incoming stream of nodes.

  • Start with an empty BST

  • For each incoming node, compare it with the root node and insert it accordingly

  • Repeat the process until all nodes are inserted

Add your answer

Q11. Implement LRU cache.

Ans.

Implement LRU cache

  • LRU stands for Least Recently Used

  • It is a cache eviction policy that removes the least recently used item

  • It can be implemented using a doubly linked list and a hash map

  • Newly accessed items are moved to the front of the list

  • When the cache is full, the item at the end of the list is removed

Add your answer

Q12. Trapping rainwater problem

Ans.

Trapping rainwater problem

  • The problem involves calculating the amount of rainwater that can be trapped between bars in an elevation map

  • Use two pointers approach to calculate the water trapped at each bar

  • Keep track of the maximum height on the left and right of each bar to calculate the trapped water

Add your answer

Q13. Serach in sorted n*n matrix

Ans.

Search for a target value in a sorted n*n matrix.

  • Start from the top-right corner or bottom-left corner of the matrix.

  • Compare the target value with the current element and move left or down accordingly.

  • Repeat until the target value is found or the boundaries of the matrix are crossed.

Add your answer

More about working at Goldman Sachs

HQ - New York, New York, United States (USA)
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at IMS Groups

based on 4 interviews in the last 1 year
1 Interview rounds
Coding Test Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

3.5
 • 48 Interview Questions
4.1
 • 41 Interview Questions
4.1
 • 12 Interview Questions
2.9
 • 12 Interview Questions
3.5
 • 12 Interview Questions
4.0
 • 12 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter