Nutanix interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Nutanix
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 month
Topics: OS MCQs, OOPS, Data structures of all kinds - stack, queue, array, graphs
Tip
Tip

Tip 1 : Nutanix exams were mejorly focussed on Data structures so if you have thorough knowledge of it first round can be cleared easily 
Tip 2 : OS MCQs can be prepared from geeksforgeeks the Nutanix exam had questions from there
Tip 3 : interview also included small conceptual data structures problems so calculating how much time you take to solve questions will help

Application process
Where: Campus
Eligibility: Above 60% in 10th and 12th, above 8 CGPA
Resume Tip
Resume tip

Tip 1 : Mention data structures in skills but also prepare it
Tip 2 : Have some projects based on java

Interview rounds

01
Round
Hard
Online Coding Interview
Duration90 minutes
Interview date15 Jul 2020
Coding problem3

It was in the morning

1. MCQ Questions

Questions were based on OS and OOPS.

 

Number Of MCQs - 30

2. OOPS Question

Related to deadlock, scheduling and OOPS

3. Implement Deque

Easy
15m average time
85% success
0/40
Asked in companies
AdobeGoldman SachsGeeksforGeeks

Design a data structure to implement deque of size ‘N’. It should support the following operations:

pushFront(X): Inserts an element X in the front of the deque. Returns true if the element is inserted, otherwise false.

pushRear(X): Inserts an element X in the back of the deque. Returns true if the element is inserted, otherwise false.

popFront(): Pops an element from the front of the deque. Returns -1 if the deque is empty, otherwise returns the popped element.

popRear(): Pops an element from the back of the deque. Returns -1 if the deque is empty, otherwise returns the popped element.

getFront(): Returns the first element of the deque. If the deque is empty, it returns -1.

getRear(): Returns the last element of the deque. If the deque is empty, it returns -1.

isEmpty(): Returns true if the deque is empty, otherwise false.

isFull(): Returns true if the deque is full, otherwise false.

Following types of queries denote these operations:

Type 1: for pushFront(X) operation.
Type 2: for pushRear(X) operation.
Type 3: for popFront() operation.
Type 4: for popRear() operation.
Type 5: for getFront() operation.
Type 6: for getRear() operation.
Type 7: for isEmpty() operation.
Type 8: for isFull() operation.
Problem approach

It was a question for double queue and I could solve it almost few test cases failed. Double queue has only one basic concept that is to add and delete from both sides if you know that you can just put these into loops and functions

Try solving now
02
Round
Medium
Video Call
Duration30 minutes
Interview date16 Jul 2020
Coding problem1

It was in the evening and the interviewer was fast, to the point and precise

1. Stack using queue

Moderate
25m average time
65% success
0/80
Asked in companies
DunzoOptumBig Basket

Implement a Stack Data Structure specifically to store integer data using two Queues.


There should be two data members, both being Queues to store the data internally. You may use the inbuilt Queue.


Implement the following public functions :

1. Constructor:
It initializes the data members(queues) as required.

2. push(data) :
This function should take one argument of type integer. It pushes the element into the stack and returns nothing.

3. pop() :
It pops the element from the top of the stack and, in turn, returns the element being popped or deleted. In case the stack is empty, it returns -1.

4. top :
It returns the element being kept at the top of the stack. In case the stack is empty, it returns -1.

5. size() :
It returns the size of the stack at any given instance of time.

6. isEmpty() :
It returns a boolean value indicating whether the stack is empty or not.
Operations Performed on the Stack:
Query-1(Denoted by an integer 1): Pushes an integer data to the stack. (push function)

Query-2(Denoted by an integer 2): Pops the data kept at the top of the stack and returns it to the caller. (pop function)

Query-3(Denoted by an integer 3): Fetches and returns the data being kept at the top of the stack but doesn't remove it, unlike the pop function. (top function)

Query-4(Denoted by an integer 4): Returns the current size of the stack. (size function)

Query-5(Denoted by an integer 5): Returns a boolean value denoting whether the stack is empty or not. (isEmpty function)
Example
Operations: 
1 5
1 10
2
3
4

Enqueue operation 1 5: We insert 5 at the back of the queue.
  Queue: [5]

Enqueue operation 1 10: We insert 10 at the back of the queue.
  Queue: [5, 10]

Dequeue operation 2: We remove the element from the front of the queue, which is 5, and print it.
  Output: 5
  Queue: [10]

Peek operation 3: We return the element present at the front of the queue, which is 10, without removing it.
  Output: 10
  Queue: [10]

IsEmpty operation 4: We check if the queue is empty.
  Output: False
  Queue: [10]
Problem approach

Tip 1: understand DS and be fast when you solve problems

Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
MTS 1
4 rounds | 5 problems
Interviewed by Nutanix
2571 views
0 comments
0 upvotes
MTS 1
4 rounds | 4 problems
Interviewed by Nutanix
1530 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Nutanix
1488 views
0 comments
0 upvotes
SDE - Intern
3 rounds | 4 problems
Interviewed by Nutanix
0 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57824 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes