Nutanix Interview Report
- 0of 0 votes
AnswersA software-based LRU Cache replacement algorithm has to be implemented for a Single Touch/Multi-Touch Cache. Single Touch can occupy at least 30% of the total cache space. A key accessed for the first time will appear in the Single Touch cache. When accessed multiple times, this will be part of the multi-touch cache. Also, multiple threads will access the cache. Following are the functions allowed for cache access.
- neer.1304 July 09, 2019 in United States
1. get(key): returns the value against the key if present else return NULL
2. set(key, value): set the value against the key| Report Duplicate | Flag | PURGE
Nutanix Algorithm - 0of 0 votes
AnswerImagine someone maliciously duplicated every file on your computer, and completely randomized their names and locations on your hard drive. Discuss an efficient way to clean up your drive of all these duplicates.
- neer.1304 July 09, 2019 in United States| Report Duplicate | Flag | PURGE
Nutanix Algorithm - 0of 0 votes
AnswersDesign a jenkins kind of system
- neer.1304 July 09, 2019 in United States| Report Duplicate | Flag | PURGE
Nutanix Software Design - 0of 0 votes
AnswersGiven a tree, and there will be treasure in one of the nodes. We can query any node, it will return the node itself if it contains the treasure or it returns the branch which leads to the treasure. we need to find out the treasure in minimum number of queries.
- neer.1304 July 09, 2019 in United States| Report Duplicate | Flag | PURGE
Nutanix Algorithm - 0of 0 votes
AnswersAn array is called a Good Array if the elements continually increasing or continually decreasing or continually decrease and then increase.
- neer.1304 July 09, 2019 in United States
Question 1: He asked how will you tell whether a given array is a good array or not.
Question 2: Given an array, you are allowed to add any number of values to each of the element. Find the minimum sum of elements that can make the array a good array.| Report Duplicate | Flag | PURGE
Nutanix Algorithm