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

SDE - 1

NVIDIA
upvote
share-icon
2 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 8 months
Topics: Data Structures, Algorithms(basic), DBMS, Operating systems, basics of web development.
Tip
Tip

Tip 1 : Try to code the data structures that you have learned to understand things better
Tip 2 : Try to solve the problem even if it is the worst possible solution you think and then try to optimize don't jump to get the
best possible solution
Tip 3 : Discuss things among peers it helps to improve the understanding, even try to teach someone anything new you learn, this is very helpful during the interviews as you will have habit of explaining things

Application process
Where: Leetcode
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Try to be honest in the resume don't write something you don't know, most of the time it backfires.
Tip 2 : Try to make 2 good projects for cv and know about the challenges you can face on the project and think about how you can solve that challenge.

Interview rounds

01
Round
Medium
Online Coding Test
Duration60 Minutes
Interview date12 Dec 2019
Coding problem1

Timing: Morning
How was the environment? It happened in the Computer Lab of my institution
All students were assigned a computer and we had to solve questions on hackerrank

1. Order of People Heights

Ninja
45m average time
55% success
0/200
Asked in companies
GoogleFlipkartNVIDIA

There are ‘N’ people numbered from 0 to N - 1, standing in a queue. You are given two arrays ‘Height’ and ‘Infront‘ consisting of ‘N’ non-negative integers. ‘Height[i]’ gives the height of the ith person, and ‘Infront[i]’ gives the number of persons who are taller than the ith person and standing in front of the ith person.

Your task is to find out the actual order of people in a queue. You should print ‘N’ integers where the ‘ith’ integer is the height of the person who should be at the ith position from the start of the queue.

Note :

1. Consider that all elements in array ‘Height’ are unique.
2. It is guaranteed that a valid order always exists for the given array ‘Height’ and ‘Infront’. 

Example :

Let there are 6 people, their heights are given by array  ‘Height’ :  [5, 3, 2, 6, 1, 4],  and the number of people in front of them is given by array ‘Infront’: [0, 1, 2, 0, 3, 2]

Thus the actual order of people’s height in the queue will be [5, 3, 2, 1, 6, 4]

In this order, the first person in a queue i.e a person with a height of 5, has no person in front of them who is taller than him.
The second person in a queue i.e a person with a height of 3 has 1 person (person with height 5) in front of them who is taller than him.
The third person in a queue i.e a person with a height of 2 has 2 people (people with height 5 and 3) in front of them who are taller than him.
The fourth person in a queue i.e a person with a height of 1 has 3 people (people with height 5, 3, 2) in front of them who are taller than him.
The fifth person in a queue i.e a person with a height of 6 has no person in front of them who is taller than him.
The sixth person in a queue i.e a person with a height of 4 has 2 people (people with height 5, and 6) in front of them who are taller than him.

We can observe this is the only possible order that is possible according to the array ‘Infront’.
Try solving now
02
Round
Medium
Face to Face
Duration60 Minutes
Interview date27 Dec 2019
Coding problem1

Round was a mix of concepts from OOPS, OS and Problem Solving

1. Find a value in BST

Easy
15m average time
85% success
0/40
Asked in companies
AdobeSAP LabsNVIDIA

You have been given a Binary Search Tree and a key value ‘X’, find if a node with value ‘X’ is present in the BST or not.

Note:
You may assume that duplicates do not exist in the tree.
For example :
For the given tree shown below:

Example

For the binary tree shown in the figure, if ‘X’ = 6, the output will be 1 as node value 6 is present in the BST.
Problem approach

Easy approach, solved with log(n) complexity

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

Which array operation has O(n) worst-case time complexity?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
2 rounds | 8 problems
Interviewed by NVIDIA
2021 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by NVIDIA
1384 views
0 comments
0 upvotes
company logo
System Software Engineer-2
4 rounds | 5 problems
Interviewed by NVIDIA
5679 views
1 comments
0 upvotes
company logo
SDE - 2
2 rounds | 3 problems
Interviewed by NVIDIA
1410 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
1 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Tata Consultancy Services (TCS)
6080 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
5351 views
3 comments
0 upvotes