Nvidia| Back End Developer - Python | 16/08/23

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2023-08-27Added By Anonymous
Source: Link

Company: Nvidia
Role: Back End Developer - Python
Interview Stage: Phone Screen
Location: unknown
Year: 2023

Original Post Content:

First screen - Selected
Questions about myself my project
REST API, Docker, Django, a little bit of background

First Round -Selected
Design - About my past project
When to use Multi Threading and Multi Processing - Answer: For IO Bound we would use Multi-threading (because of the event loop)
For CPU bound we would use multi-processing

Question - We want to deposit from a bank account. You have two locks and deadlocks. How can you solve it?
Answer: Check from the Id who is available and the order matters so it's if and else (I didn't quite understood the interviewer only after he showed me)

Question: Find the bugs in the second max function
Answer: Edge cases, negative numbers, and the second max is not before the most max (i.e., not necessarily adjacent to the maximum in sorted order)

Wasn't selected for the round
It was hard but a positive experience for next time!

Comments