All puzzles › OA Screening Round
OA Screening Round Practice Problems
22 puzzles (3 easy, 15 medium, 4 hard), in Python, JavaScript and C++.
Online assessment practice. Real OA shape: a situation, no hint about which technique it wants, and the first minute spent working out what the question even is.
The puzzles, easiest first
- Back to the Dock (Easy): A robot follows a string of moves: N, S, E, and W, one square each.
- Floors Travelled (Easy): An elevator starts on floor 0 and answers calls in the order they were pressed.
- The Longest Quiet Spell (Easy): A status board logs one HTTP code per minute.
- Below the Line (Medium): A warehouse feed lists stock changes as [productCode, change], where positive is a delivery and negative is a sale.
- Scanned Twice Too Soon (Medium): A scanner sometimes reads the same parcel twice.
- Seating the Groups (Medium): A row of seats is part booked (1) and part free (0).
- The Busiest Aisles (Medium): Every scan at the register logs a product code.
- The Busiest Minute on the Yard (Medium): Trucks book the yard as [arrive, leave].
- The Faulty Badges (Medium): Each badge code has a built-in check.
- The Loading Belt (Medium): Packages come down a belt in a fixed order, and you can't rearrange them.
- The Priority Printer (Medium): Documents wait in line at a printer, each with a priority.
- The Unmatched Entries (Medium): Given a list of charges and a list of payments, return every charge that doesn't have a payment of the same amount, smallest first.
- Three Depots, One Manifest (Medium): Each depot sends a list of parcel IDs already sorted from smallest to largest.
- Too Many Requests (Medium): A gateway allows at most max calls in any window of window seconds.
- Totals for Every Shift (Medium): A production line logs its output once an hour.
- Two Meetings, One Room (Medium): Given room bookings as [start, end], find the first clash when the bookings are read in order of start time, and return the two booking numbers, smaller first.
- Where the Line Balances (Medium): Crates sit in a row on a beam.
- Which Build Is Newer? (Medium): Given two version strings like "1.10.2" and "1.9.9", return 1 if the first is newer, -1 if it's older, or 0 if they're the same.
- How Many Rounds to Build It (Hard): Each part lists the parts that have to be built before it.
- Spills That Never Reached the Wall (Hard): A floor is mapped as a grid of clean (0) and spill (1) cells, where spills connect up, down, left, and right.
- The Narrowest Shelf (Hard): Boxes go on a shelf in the order listed.
- Wait for a Cheaper Fare (Hard): Fares are published one per day.
Practice another pattern
Or browse by subject
Browse all 676 puzzles