0 day streak

Okta coding interview questions

Enterprise SaaS 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
Validate IP AddressSimulation Medium Arrays & Hashing Meta, Nvidia, X (Twitter) +14 Solve
LRU CacheLinked Lists Medium Design Data Structures Google, Amazon, Microsoft +140 Solve
Simple Bank SystemPre-processing + tradeoffs Medium Design Data Structures Airbnb, Stripe, Coinbase +8 Solve
Insert Delete GetRandom O(1)Hash Map + Array Medium Design Data Structures Google, Amazon, Apple +50 Solve
Find Median from Data StreamAdvanced Hard Heaps Google, Amazon, Apple +47 Solve
All Nodes Distance K in Binary TreeChild + Ancestor Handling Medium Trees & BST Amazon, Meta, Apple +14 Solve
Group AnagramsHashing Medium Arrays & Hashing Amazon, Microsoft, Meta +82 Solve
Insert Delete GetRandom O(1) - Duplicates allowedHash Map + Array Hard Design Data Structures LinkedIn, Snowflake, Yelp +1 Solve
Longest Consecutive SequenceHash Set Lookup Medium Arrays & Hashing Google, Amazon, Microsoft +34 Solve
Product of Array Except SelfRight to Left Traversal Medium Arrays & Hashing Amazon, Microsoft, Meta +37 Solve
Course ScheduleTopological Sort Medium Graphs Google, Amazon, Microsoft +42 Solve
Design Movie Rental SystemComposite comparator Hard Heaps Flipkart Solve
Merge IntervalsBasics Medium Intervals Google, Amazon, Microsoft +107 Solve
Median of Two Sorted ArraysBinary Search on Partition Hard Binary Search Google, Amazon, Microsoft +49 Solve
Container With Most WaterTwo Pointer Medium Arrays & Hashing Google, Amazon, Microsoft +59 Solve
Word Ladder IIBFS for shortest path Hard Graphs Microsoft, Nutanix, Tesla +8 Solve
Word LadderBFS for shortest path Hard Graphs Google, Amazon, Microsoft +39 Solve
Task SchedulerGreedy Medium Arrays & Hashing Amazon, Uber, Snowflake +18 Solve
Koko Eating BananasBinary Search on Answer Space Medium Binary Search Amazon, Netflix, Uber +34 Solve
Split Array Largest SumBinary Search on Answer Space Hard Binary Search Amazon, Uber, Pinterest +16 Solve
Alien DictionaryTopological Sort Hard Graphs Google, Amazon, Microsoft +20 Solve
Word Search2D Matrix Backtracking Medium Recursion & Backtracking Google, Microsoft, Meta +36 Solve
Number of IslandsConnected Components Medium Graphs Google, Amazon, Microsoft +114 Solve
Daily TemperaturesMonotonic Stack Medium Monotonic Stack Amazon, Grab, TikTok (ByteDance) +20 Solve
Design TwitterMerge K Sorted Medium Heaps Amazon, X (Twitter), Palo Alto Networks +5 Solve
Shortest PalindromeString Matching (KMP) Hard Arrays & Hashing Reddit, EPAM Systems, Vanguard Solve
Edit DistanceStrings Medium Dynamic Programming Google, LinkedIn, Target +18 Solve
Reverse StringTwo Pointer Easy Arrays & Hashing Nvidia, Snowflake, Electronic Arts +37 Solve
Find Minimum in Rotated Sorted ArrayRotated Array Medium Binary Search Microsoft, Nutanix, Expedia Group +11 Solve
Also reported, being added to AlgoRung (4)

Reverse Substrings Between Each Pair of Parentheses · Making File Names Unique · Range Sum Query 2D - Immutable · Minimum Absolute Difference Between Elements With Constraint

Questions people ask

What coding questions does Okta ask most?

Validate IP Address, LRU Cache, Simple Bank System, Insert Delete GetRandom O(1), Find Median from Data Stream, All Nodes Distance K in Binary Tree, Group Anagrams, Insert Delete GetRandom O(1) - Duplicates allowed.

Which topics come up in Okta coding rounds?

design data structure, graphs, heaps, arrays, strings, hash maps.

How hard are Okta coding questions?

Of the reported questions, 1 are easy, 19 medium and 9 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.