Optiver Coding & Algorithms Interview Questions
Optiver Coding & Algorithms interview questions test more than rote algorithm recall; they probe how you think under performance constraints and how you communicate trade-offs. Expect timed online assessments and live coding sessions that resemble collaborative problem solving rather than isolated puzzles. Interviewers typically evaluate your ability to choose appropriate data structures, reason about time and space complexity, write clean, correct code in a primary language (often C++, Java, or Python), and handle edge cases and performance considerations that matter in low‑latency trading systems. For effective interview preparation, focus on fundamentals—arrays, trees, graphs, hashing, sorting, windows and two‑pointer techniques, and complexity analysis—while practicing timed problems and explaining your choices aloud. Reinforce language fluency and standard library knowledge, and revisit concurrency, memory layout, and I/O tradeoffs when relevant. During practice, simulate the live interview: ask clarifying questions, outline an approach, iterate on correctness, and discuss optimizations. This approach helps you demonstrate practical engineering judgment as well as coding proficiency.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Match alphanumeric patterns in a stream
Given a reference 7–8 character alphanumeric code and four candidate codes, select the exact match as quickly as possible. Design a system that: - Eff...
Implement a News Publishing System with Topic Subscriptions and Delivery Limits
You are building the core delivery engine for a news publishing service. The service continuously receives news items, stores them, and — whenever a p...
Cargo Order Allocation Across Departing Planes
A freight company assigns incoming shipping orders to a fixed fleet of cargo planes. You must implement the order-processing logic: decide whether eac...
Maximum Currency Conversion Rate
Maximum Currency Conversion Rate You are given N currency exchange rate pairs. Each pair is a triple (from_currency, to_currency, rate), meaning that ...
Validate a Binary Tree Built from Directed Edges
Validate a Binary Tree Built from Directed Edges You are given a list of directed edges. Each edge is a pair (parent, child) of positive-integer node ...
Identify OS component causing process starvation
A system with 2 CPU cores runs 5 identical processes continuously. Four processes get equal CPU time, but the fifth appears to get none. Which part of...
Count nonnegative buy/sell sequences
You must perform exactly 2n unit trades starting with 0 shares and ending with 0 shares. Each trade is either a buy (+1 share) or a sell (−1 share), a...
Days Between Two Calendar Dates
Days Between Two Calendar Dates You are given two dates as strings, each in the format YYYY-MM-DD. Write a function that returns the number of days be...
Find missing numbers in sequences
This question evaluates sequence pattern recognition, numerical reasoning with integers and rational numbers, and the ability to infer recurrences or ...
Design a circular queue data structure
This question evaluates understanding of circular buffer data structures and the ability to implement fixed-capacity queue operations with O(1) time a...
Solve a Skyscraper puzzle efficiently
Design and implement a solver for the Skyscraper logic puzzle on an $N \times N$ grid, where $3 \le N \le 7$. The board is a grid of building heights....
Design a satellite propagation simulator
Question Implement a SatelliteNetwork class that simulates message propagation over an undirected satellite graph. The class consumes a stream of inst...
Decide and implement DP/heap and approximation
You have 90 minutes to complete three related coding tasks: a) Dynamic programming: Given an integer array nums (n ≤ 2e 5) and a threshold T, design a...
Stone Pile Doubling Game: Can One Pile Be Emptied?
You are given two piles of stones containing a and b stones respectively (both piles start non-empty). You repeatedly apply the following move: - Let ...
Count the Days Between Two Dates
Count the Days Between Two Dates You are given two calendar dates as strings in YYYY-MM-DD format. Return the number of days between them as a non-neg...
Solve three mini-game algorithm tasks
Solve three mini-game algorithm tasks Solve three mini-game algorithm tasks: (a) Move-House Puzzle: Given initial and target arrangements of N labeled...
Detect currency arbitrage with costs
You are given a K×K matrix R of currency exchange rates where R[i][j] is the amount of currency j obtainable for one unit of currency i, and R[i][i] =...
Make Two Apple Piles Equal With Doubling Moves
You have two piles of apples: the first pile contains a apples and the second pile contains b apples. In one move you choose one pile to be the receiv...