0 day streak

Nvidia coding interview questions

Big techProduct Global

Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.

0%ready
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Special Binary StringDivide and Conquer Hard Recursion & Backtracking Rubrik Solve
LRU CacheLinked Lists Medium Design Data Structures Google, Amazon, Microsoft +49 Solve
Best Time to Buy and Sell StockState Machine DP - Stock Problems Easy Dynamic Programming Amazon, Microsoft, Apple +38 Solve
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +46 Solve
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +50 Solve
Merge k Sorted ListsMerge K Sorted Hard Heaps Google, Amazon, Microsoft +16 Solve
Group AnagramsHashing Medium Arrays & Hashing Amazon, Microsoft, Meta +31 Solve
Valid ParenthesesStack Basics Easy Stack Google, Microsoft, Meta +39 Solve
Restore IP AddressesChoice per Position Medium Recursion & Backtracking Wells Fargo, VMware by Broadcom, Zoho Solve
Last Stone WeightTop K / Kth Largest / Smallest Easy Heaps PayPal Solve
Search in Rotated Sorted ArrayRotated Array Medium Binary Search Microsoft, Apple, LinkedIn +18 Solve
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Microsoft, Apple, LinkedIn +29 Solve
Number of IslandsConnected Components Medium Graphs Google, Amazon, Microsoft +41 Solve
Minimum Operations to Reduce an Integer to 0Tricks to remember Medium Bit Manipulation Uber, Salesforce Solve
Fizz BuzzSimulation Easy Arrays & Hashing Spotify, Cisco, IBM Solve
Trapping Rain WaterTwo Pointer Hard Arrays & Hashing Google, Amazon, Microsoft +38 Solve
Maximum Number of Visible PointsSliding Window · Variable Hard Arrays & Hashing InMobi Solve
Container With Most WaterTwo Pointer Medium Arrays & Hashing Google, Microsoft, Apple +31 Solve
Reverse BitsBasics Easy Bit Manipulation Airbnb, Qualcomm Solve
Top K Frequent ElementsComposite comparator Medium Heaps Google, Amazon, Apple +16 Solve
Copy List with Random PointerMiscellaneous Medium Linked List Google, Amazon, Microsoft +8 Solve
4SumTwo Pointer Medium Arrays & Hashing Rubrik, ServiceNow, Dream11 +2 Solve
Sliding Window MaximumMonotonic Stack Hard Monotonic Stack Google, Amazon, Microsoft +13 Solve
Find The Original Array of Prefix XorXOR Basics Medium Bit Manipulation Morgan Stanley Solve
Rotate ImageIn-place Transformations Medium Arrays & Hashing Amazon, Apple, Bloomberg +14 Solve
Merge IntervalsBasics Medium Intervals Google, Amazon, Microsoft +45 Solve
Break a PalindromeTwo Pointer Medium Arrays & Hashing VMware by Broadcom Solve
Find the Duplicate NumberSlow Fast Pointers Medium Linked List Microsoft, Razorpay, Paytm Solve
Dot Product of Two Sparse VectorsPre-processing + tradeoffs Medium Design Data Structures Meta, Pinterest Solve
Unique Paths II2D DP Medium Dynamic Programming Intuit, Flipkart, Zomato +2 Solve
Subarray Sum Equals KPrefix Sum Strategy Medium Arrays & Hashing Google, Microsoft, Meta +15 Solve
Rotate ListDummy Node Pattern Medium Linked List CRED, InMobi, Jio Platforms Solve
Product of Array Except SelfRight to Left Traversal Medium Arrays & Hashing Microsoft, Meta, Apple +13 Solve
Decode StringStack Basics Medium Stack Google, Amazon, Microsoft +8 Solve
Add Two NumbersDummy Node Pattern Medium Linked List Amazon, Microsoft, Meta +12 Solve
3SumTwo Sum Medium Arrays & Hashing Google, Microsoft, Meta +31 Solve
House RobberAlternate Selection / Pick / Not pick Medium Dynamic Programming Airbnb, Databricks, Adobe +13 Solve
Missing NumberMissing / Repeated Numbers Easy Bit Manipulation Microsoft, Palantir, Oracle +6 Solve
Move ZeroesTwo Pointer Easy Arrays & Hashing Meta, Bloomberg, Tesla +11 Solve
String to Integer (atoi)Simulation Medium Arrays & Hashing Apple, Netflix, Databricks +1 Solve
Merge Sorted ArrayTwo Pointer Easy Arrays & Hashing Meta, Apple, Bloomberg +12 Solve
Reverse Words in a StringDouble Reversal Trick Medium Arrays & Hashing Microsoft, Barclays, Deutsche Bank +8 Solve
Sort ColorsDutch National Flag Medium Arrays & Hashing Microsoft, Morgan Stanley, Visa +12 Solve
Remove Stones to Minimize the TotalTop K / Kth Largest / Smallest Medium Heaps Salesforce Solve
String CompressionTwo Pointer Medium Arrays & Hashing Microsoft, Stripe, Spotify +10 Solve
Asteroid CollisionStack Basics Medium Stack Amazon, DoorDash, ServiceNow +10 Solve
Power of TwoTricks to remember Easy Bit Manipulation Qualcomm, Intel Solve
Design Memory AllocatorSimulation Medium Design Data Structures Rubrik, Tesla, Qualcomm Solve
Also reported, being added to AlgoRung (2)

Maximize Greatness of an Array · Fizz Buzz Multithreaded

Questions people ask

What coding questions does Nvidia ask most?

Special Binary String, LRU Cache, Best Time to Buy and Sell Stock, Two Sum, Longest Substring Without Repeating Characters, Merge k Sorted Lists, Group Anagrams, Valid Parentheses.

Which topics come up in Nvidia coding rounds?

arrays, strings, linked list, bit manipulation, heaps, graphs.

How hard are Nvidia coding questions?

Of the reported questions, 10 are easy, 33 medium and 5 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.