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."
Maintain Price Levels For A Single-Symbol Order Book
Review a single-symbol order book implementation prompt with insert, modify, cancel, and price-level lookup callbacks. The interview topic focuses on ...
Design a balloon stability tracker
Implement a class BalloonFestival to manage hot-air balloons and wind fields over time, and to report rewarded balloons at inspection times. Methods a...
Calculate Days Between Arbitrary Gregorian Dates
Calculate the absolute number of days between arbitrary valid Gregorian dates without enumerating each day or relying on a limited date library. Accou...
Explain OS processes, threads, and memory
Explain OS processes, threads, and memory Explain core operating system concepts: processes vs threads, context switching, and scheduling (preemptive ...
Detect Currency Arbitrage After a Cycle Fee
Detect Currency Arbitrage After a Cycle Fee You are given a matrix of positive currency exchange rates, where rates[i][j] units of currency j are rece...
Count Bounded Buy-and-Sell Sequences
Count Bounded Buy-and-Sell Sequences You start with k shares. On each transaction day, you either buy one share or sell one share, but holdings may ne...
Build and Validate a Binary Tree from Parent-Child Pairs
Build and Validate a Binary Tree from Parent-Child Pairs You are given a single input string that is supposed to describe a binary tree as a sequence ...
Implement a Level-Aware Expiring Inventory Store
Implement an inventory store with levels, weights, timestamps, and expiration. store adds an item. retrieve(timestamp) returns and removes the highest...
Thread-Safe Stock Inventory: Buy and Sell Without Overselling
Thread-Safe Stock Inventory: Buy and Sell Without Overselling You are implementing the inventory-management core of a small brokerage service. The ser...
Count Ordered Sequences That Sum to a Target
Count Ordered Sequences That Sum to a Target Given a positive target n and a set of unique positive order sizes, count the distinct ordered sequences ...
Compare common data structures and uses
Compare common data structures and uses Compare common data structures and select appropriate ones for specific tasks. For arrays, linked lists, stack...
Optimize switching puzzle solution
Consider a switching puzzle on an m×n grid of lights where toggling a cell flips its state and that of its orthogonal neighbors (Lights Out variant). ...
Compare two programs for equivalence
You are given two short programs (or functions) that process an integer array A (|A| ≤ 10^ 5). Determine whether they are functionally equivalent for ...
Optimize flight and cargo bookings for profit
OptiCargo: make the booking algorithm profitable You are given two streams/lists: - Flights you may attempt to book. Each flight has: - flight_id ...
Estimate expected comparisons in a BST
Estimate expected comparisons in a BST In a particular binary search tree, finding node A takes 1 comparison and finding node D takes 3 comparisons. W...
Implement price-based order matcher
Design and implement a price-based order matcher for unit-sized orders. You are given an array orders where each element is [type, price]: type = 1 de...
Minimize moves to transform floor layouts
You are given an initial arrangement of apartments across Floors 1–4 and a target arrangement. In one move you may reposition a single apartment to a ...
Devise sequence-rule detection strategy
You are given an integer sequence with 2 ≤ n ≤ 50 terms, possibly following rules such as arithmetic/geometric progressions, alternating patterns, pol...
Design a queue and analyze tradeoffs
Design a FIFO queue data structure that supports enqueue, dequeue, peek, and isEmpty. Compare implementations using a singly linked list, a dynamic ar...
Design a Balloon Festival Simulator
Implement a class BalloonFestival with the following API and rules. Goal Track hot air balloons (yours and competitors), evolving wind fields, and bal...