Okta LeetCode Questions
20 questions all-time · 0 easy · 15 medium · 5 hard
| # | Problem | Difficulty | Frequency | Acceptance |
|---|---|---|---|---|
| 1 | LRU Cache Hash Table, Linked List, Design, Doubly-Linked List | Medium | 100 | 0.5% |
| 2 | Insert Delete GetRandom O(1) Array, Hash Table, Math, Design, Randomized | Medium | 91 | 0.6% |
| 3 | Simple Bank System Array, Hash Table, Design, Simulation | Medium | 91 | 0.7% |
| 4 | All Nodes Distance K in Binary Tree Hash Table, Tree, Depth-First Search, Breadth-First Search, Binary Tree | Medium | 86 | 0.7% |
| 5 | Group Anagrams Array, Hash Table, String, Sorting | Medium | 86 | 0.7% |
| 6 | Merge Intervals Array, Sorting | Medium | 78 | 0.5% |
| 7 | Find Median from Data Stream Two Pointers, Design, Sorting, Heap (Priority Queue), Data Stream | Hard | 78 | 0.5% |
| 8 | Longest Consecutive Sequence Array, Hash Table, Union-Find | Medium | 78 | 0.5% |
| 9 | Container With Most Water Array, Two Pointers, Greedy | Medium | 78 | 0.6% |
| 10 | Daily Temperatures Array, Stack, Monotonic Stack | Medium | 68 | 0.7% |
| 11 | Median of Two Sorted Arrays Array, Binary Search, Divide and Conquer | Hard | 68 | 0.5% |
| 12 | Number of Islands Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix | Medium | 68 | 0.6% |
| 13 | Making File Names Unique Array, Hash Table, String | Medium | 68 | 0.4% |
| 14 | Range Sum Query 2D - Immutable Array, Design, Matrix, Prefix Sum | Medium | 68 | 0.6% |
| 15 | Reverse Substrings Between Each Pair of Parentheses String, Stack | Medium | 68 | 0.7% |
| 16 | Word Ladder II Hash Table, String, Backtracking, Breadth-First Search | Hard | 68 | 0.3% |
| 17 | Word Ladder Hash Table, String, Breadth-First Search | Hard | 68 | 0.5% |
| 18 | Task Scheduler Array, Hash Table, Greedy, Sorting, Heap (Priority Queue), Counting | Medium | 68 | 0.6% |
| 19 | Insert Delete GetRandom O(1) - Duplicates allowed Array, Hash Table, Math, Design, Randomized | Hard | 68 | 0.4% |
| 20 | Product of Array Except Self Array, Prefix Sum | Medium | 68 | 0.7% |
How to read this list
The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.
Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.