Nvidia String Coding Interview Questions
20 string coding problems are tagged as asked at Nvidia in interviews and online assessments reported by candidates. By difficulty they split into 10 basic, 9 intermediate and 1 advanced. The topics they most often combine with are Math, Two Pointers, Hash Table, Stack.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Nvidia tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Valid Parentheses (Basic)
- Longest Substring Without Repeats (Intermediate)
- Reverse String (Basic)
- First Unique Character (Basic)
- Longest Palindromic Substring (Intermediate)
- Valid Anagram (Basic)
- Reverse Words in a String (Basic)
- Compare Version Numbers (Intermediate)
- Palindrome Linked List (Basic)
- String Compression (Basic)
- String to Integer (Intermediate)
- Integer to English Words (Advanced)
- Simplify Path (Intermediate)
- Task Scheduler (Intermediate)
- Letter Combinations of a Phone Number (Intermediate)
- Restore IP Addresses (Intermediate)
- Word Pattern (Basic)
- Break a Palindrome (Intermediate)
- Number of Lines to Write String (Basic)
- Fizz Buzz (Basic)
Related
- Nvidia coding interview questions
- String problems
- Nvidia basic problems
- Nvidia intermediate problems
- Nvidia advanced problems
- Company interview roadmaps
- All interview guides
Frequently asked questions
How should I use the Nvidia problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact Nvidia interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.