Tripadvisor coding interview questions
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.
| Progress | Title | Difficulty | Next step |
|---|---|---|---|
| Valid ParenthesesStack Basics | Easy | Solve | |
| Top K Frequent WordsTop K / Kth Largest / Smallest | Medium | Solve | |
| LRU CacheLinked Lists | Medium | Solve | |
| Ransom NoteHashing | Easy | Solve | |
| Valid PalindromeTwo Pointer | Easy | Solve | |
| Validate Binary Search TreePostorder + Multiple Return Values | Medium | Solve | |
| Valid NumberSimulation | Hard | Solve | |
| Random Pick with WeightBasics | Medium | Solve | |
| Set Matrix ZeroesIn-place Transformations | Medium | Solve | |
| Min StackStack | Medium | Solve | |
| Search a 2D Matrix II (Young Tableau)2D Binary Search + Step Search | Medium | Solve | |
| Best Time to Buy and Sell StockState Machine DP - Stock Problems | Easy | Solve | |
| Two SumTwo Sum | Easy | Solve |
No questions match these filters.
Also reported, being added to AlgoRung (3)
Find Common Characters · Number of Connected Components in an Undirected Graph · Intersection of Three Sorted Arrays
Questions people ask
What coding questions does Tripadvisor ask most?
Valid Parentheses, Top K Frequent Words, LRU Cache, Ransom Note, Valid Palindrome, Validate Binary Search Tree, Valid Number, Random Pick with Weight.
Which topics come up in Tripadvisor coding rounds?
strings, hash maps, stack, graphs, trees, heaps.
How hard are Tripadvisor coding questions?
Of the reported questions, 5 are easy, 7 medium and 1 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.