0 day streak

Roku coding interview questions

Product Global Machine coding / LLD

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
Your level: practise every reported question.
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Max Area of IslandMatrix Graphs Medium Graphs Snowflake, DoorDash, Palantir +10 Solve
Minimum Cost For Tickets1D DP Medium Dynamic Programming Grab, Turing, EPAM Systems +3 Solve
Longest Common SubsequenceStrings Medium Dynamic Programming Google, Amazon, Apple +20 Solve
LRU CacheLinked Lists Medium Design Data Structures Google, Amazon, Microsoft +140 Solve
Sliding Window MaximumMonotonic Stack Hard Monotonic Stack Google, Amazon, Microsoft +51 Solve
Maximum Points You Can Obtain from CardsSliding Window · Fixed Medium Arrays & Hashing Amazon, Expedia Group, Goldman Sachs +2 Solve
Shortest Path to Get All KeysBFS for shortest path Hard Graphs Uber, Airbnb, PhonePe Solve
Decode StringStack Basics Medium Stack Google, Amazon, Microsoft +31 Solve
Top K Frequent ElementsComposite comparator Medium Heaps Google, Amazon, Microsoft +53 Solve
Valid Parenthesis StringStack Basics Medium Stack Google, TikTok (ByteDance), Activision Blizzard +4 Solve
Backspace String CompareTwo Pointer Easy Arrays & Hashing Amazon, Booking.com, Wayfair +6 Solve
Multiply StringsRight to Left Traversal Medium Arrays & Hashing Pinterest, X (Twitter), Zillow +9 Solve
Valid Palindrome IITwo Pointer Easy Arrays & Hashing Meta, Apple, Bloomberg +8 Solve
3SumTwo Sum Medium Arrays & Hashing Google, Amazon, Microsoft +68 Solve
Vertical Order Traversal of a Binary TreeViews Hard Trees & BST Meta, Apple, Uber +15 Solve
Asteroid CollisionStack Basics Medium Stack Amazon, Microsoft, Nvidia +33 Solve
Longest Valid ParenthesesStrings Hard Dynamic Programming Amazon, Microsoft, Booking.com +15 Solve
Max StackStack Hard Design Data Structures LinkedIn, Spotify, Nutanix +8 Solve
Maximum Product of Three NumbersGreedy Easy Arrays & Hashing Redfin, Salesforce, Intuit +3 Solve
Max Consecutive Ones IIISliding Window · Variable Medium Arrays & Hashing Amazon, Microsoft, Meta +16 Solve
Also reported, being added to AlgoRung (3)

Substring with Concatenation of All Words · 24 Game · Three Equal Parts

Questions people ask

What coding questions does Roku ask most?

Max Area of Island, Minimum Cost For Tickets, Longest Common Subsequence, LRU Cache, Sliding Window Maximum, Maximum Points You Can Obtain from Cards, Shortest Path to Get All Keys, Decode String.

Which topics come up in Roku coding rounds?

dynamic programming, graphs, stack, strings, sliding window, design data structure.

How hard are Roku coding questions?

Of the reported questions, 3 are easy, 12 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.