Nutanix | MTS-2 | Bangalore | Offer

Anonymous User
3625
Jul 08, 2024
Jul 08, 2024

Round 1: Screening/DSA Round - 45 min

-quick intro and he told me to solve a DSA question and time limit was 45 min, i've to explain the approach , and run some test cases
Ques - Find the two values in an array whose sum is closest to zero.
i did it the explanation and coded in 8-10 min , so the interview was over in 20 mins.

Round 2: Programming/Coding - 1 hr

Ques - There is a very large file ~100GB which is 90% empty, you've to design the file structure to store the data optimally and code two functions read and write.

Write function takes offset, length and char array as arguments
Read function takes offset, length.
Note - You've to code on the google doc and run the test cases by dry run and explain the code.

Round 3: Debugging - 1 hr

-There is a 3 Page code on a google doc, related to client server communication , The goal was to make it thread safe.

I don't remmember the correct conditions but there was some dependency on client and server both to close a connection
and a client can make any number of connections to server but can execute N number of connections at a particular time.

Asked questions about malloc and its working, write code for semaphore, diff between mutex and spinlock, and some more linux and os questions.

Round 4: System Design

Ques - You've N numbers of linux user machines and M numbers of linux worker machines, User machines has some test binaries stored and they want to execute them on worker machines, Design the whole system to manage this such that only one test case runs at a time on a worker machine.

Interviewer split the question in multiples case like:-

1 user machine , 1 test case, 1 worker machine
1 user machine , multiple test cases, 1 worker machine
multiple user machine , 1 test case, 1 worker machine
...
Round 5 : Techno managerial / Hiring Manager Round

Discussed about my projects and resume in detail, cross questions on each project, some questions related to OS, processes, memory stack etc.
DSA Question - Delete the current node in the linked list
Some design questions
Standard Behavioural questions
Got a call after 2 days of HM round, that feedback was positive.

Comments (5)