Tip 1 : Understand the OS concepts very well
Tip 2 : Practice C++ OOPS Concepts
Tip 1 : Mention the impact created on past work by numbers
Tip 2 : Having Finance knowledge is a plus
This round had 2 coding questions along with some MCQ's related to CS Fundamentals







If ‘WORDS’ = ["word","world","row"], ‘ORDER’ = "worldabcefghijkmnpqstuvxyz",the answer will be ‘NO’ as first and second words are not lexicographically sorted as ‘l’ comes before ‘d’ in alien language.
This round was a mix of OS, DSA and Computer Network questions



Can you solve it in O(N+M) time?
If ‘N’ = 6, ‘A’ = {1, 2, 0, 3, 4, 5}, ‘M’ = 7 and ‘B’ = {3, 5, 0, 2, 1, 6, 4}.
Then, we will return {6, 6, 2, 5, -1, 6} because:
For i = 0, A[i] = 1 and the first element greater than 1 that lies to the right of it in array ‘B’ is 6.
For i = 1, A[i] = 2 and the first element greater than 2 that lies to the right of it in array ‘B’ is 6.
For i = 2, A[i] = 0 and the first element greater than 0 that lies to the right of it in array ‘B’ is 2.
For i = 3, A[i] = 3 and the first element greater than 3 that lies to the right of it in array ‘B’ is 5.
For i = 4, A[i] = 4 and there is no greater element to the right of 4 in array ‘B’.
For i = 5, A[i] = 5 and the first element greater than 5 that lies to the right of it in array ‘B’ is 6.
First I tried brute force solution and then as I gradually looked at the pattern, I observed that stack can work. So used it effectively to get the optimised the solution. A small clue from interviewer also helped.



You can only move down or right at any point in time.
As I solved many problems, I immediately recognised this problem as I solved this before. So gave the optimised solution.
1) What do you mean by Virtual Memory?
2) Explain TLB Cache
1) TCP vs UDP difference
2) How to make UDP reliable?
This round was more aligned towards Networking concepts
Write a C++ code to solve a method called onReceivePacket which gets called whenever a UDP packet arrives from different multicast channels with all sending the same data
This round had only puzzles
Given balance and N different weights of all same size except one. Find the odd one out in minimum number of checks.
If 1.5 hens can lay 1.5 eggs in 1.5 days then how many eggs does 3 hens lay in 3 days.
Interview with tech lead and manager - This round had questions mainly from the internal working of Data Structures
How unordered_map works internally?



1. get(key) - Return the value of the key if the key exists in the cache, otherwise return -1.
2. put(key, value), Insert the value in the cache if the key is not already present or update the value of the given key if the key is already present. When the cache reaches its capacity, it should invalidate the least recently used item before inserting the new item.
Type 0: for get(key) operation.
Type 1: for put(key, value) operation.
1. The cache is initialized with a capacity (the maximum number of unique keys it can hold at a time).
2. Access to an item or key is defined as a get or a put operation on the key. The least recently used key is the one with the oldest access time.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?