cswork / mock oaOpen Mock OA

OpenAI · CodeSignal / HackerRank

OpenAI OA mock: 2 questions in 90 minutes

Take a timed OpenAI OA mock on CSWork: 2 coding questions in 90 minutes, judged online CodeSignal / HackerRank-style, auto-submitted at time-up and scored.

Start the OpenAI mock →8 judgeable problems in the pool (OA bank + frequent LeetCode)

The real OpenAI OA format

Platform
CodeSignal / HackerRank
Questions
2
Time limit
90 minutes
Difficulty order
medium → hard
Scoring
Each question 0–100 by tests passed
Roles
New grad, SWE
Besides coding
None

Few and inconsistent reports: usually one multi-part implementation task (base version, then an extension), commonly 90 min; many fail to finish part 2. Simulated as medium → hard. Engineering-flavored topics: rate limiter, LRU, interval merging, streaming stats.

What the OpenAI OA tests

Engineering-style implementation: one multi-part problem that keeps adding requirements (in-memory store, rate limiter, streaming stats, top-k). Finishing every part is largely what separates pass from fail.

From topic labels on 10 OpenAI OA problems on this site (AI-assisted estimates)
  1. Simulation25%
  2. Grid Search18%
  3. Two Pointers16%
  4. Iterators14%
  5. Hashing10%
  6. Bits & Math7%
  7. Greedy7%
  8. Prefix & Ranges3%

Pick a topic to practise its stop on Line 500.

Estimated difficulty mix

  • easy 0%
  • medium 90%
  • hard 10%
Style
Reports are few and inconsistent: some describe one problem with up to ~8 stages, others two very hard problems in 2 hours. The problems read like real code rather than textbook puzzles, usually involving state and time-ordered events, occasionally a grid search.
How to prepare
Practice writing and extending small stateful classes fast: a KV store with TTL, a token-bucket limiter, a two-heap running median. In Python, know heapq, collections and bisect without looking anything up, and add a few self-tests as you go.

What this mock simulates

  • 2 coding questions, in the order medium → hard
  • A 90-minute countdown that keeps running if you leave, and submits itself at zero
  • Problems drawn from OpenAI's OA bank and its frequent LeetCode questions, preferring ones you have not solved
  • Solutions and hints stay hidden until you finish; then a score report and the solutions

Not simulated

  • Camera, microphone or screen proctoring, and plagiarism checks
  • CodeSignal / HackerRank's own editor; you use the CSWork editor and judge

Where the format comes from