Nutanix MTS-4 Interview Experience (Rected)
Company: Nutanix
Role: MTS-4
Interview Stage: Onsite
Location: unknown
Year: unknown
Original Post Content:
Total Exp: 6.5 years
Education: B.tech from tier-3 college, M.tech from IIT
Round 1: OA, 2 coding questions with leetcode medium difficulty level. Able to solve both of them.
Round 2 (Coding round):
Same as this question: https://leetcode.com/discuss/interview-question/1693416/google-onsite-recursively-delete-leave-nodes-in-a-multi-tree
Lot of discussion about different approaches, time and space complexity.
Got a positive feedback after this.
Round 3 (LLD):
Design a paint application (same as we have in Windows). Running code is expected after an hour with the below requirements.
Requirement:
1. User should be able to draw different shapes (like circle, rectangle, square, triangle etc).
2. If user is drawing a rectangle, inside another rectangle on screen, how will you make sure that we are storing them in the exact position in our DB ?
3. More than one user should be able to draw on the same screen and can see each other's changes (Like we do in Google Docs).
For the first requirement, I suggested that we can take x,y coordinates from the frontend and based on that we can store this in our DB. But interviewer said there will be a lot of processing on frontend level which is not good because we want the system to be backend heavy.
This round didn't end well for me so I knew it would be a reject, but since they already scheduled the HLD round so I attended that as well.
Round 4 (HLD):
Given N number of servers, 2<=N<=50.
All of them do some processing based on some configuration values, where each server has its own configuration file and all of these configuration values are stored in that file. Admin wants to update the file and he wants to make sure that he only updates a single file and all the remaining files get updated automatically.
Design a system to do so.
I told him that we can have a common configuration service, from where all servers can read the values. So admin only has to update there.
But he said we don't want a common configuration service, we want files with the server only. I came up with different approaches. This round went pretty well for me. Interviewer was also very friendly and we had a healthy discussion.
Got a call after 2 days from HR that feedback is not positive from the LLD round. So they are not proceeding further.
I am still looking for the solution of LLD round, if you guys can suggest something, it will be helpful