This drill is an original problem in the same format as the coding screens candidates describe: one class, four levels, a clock. Each level adds requirements that you can't see yet, so the data model you pick in Level 1 decides how painful Level 4 is.
The rules
- Implement a class called
FlagServicein the editor. Every method takestimestamp(an integer) as its first argument, and timestamps only ever increase from one call to the next. - Press Submit to run the checks for the levels you can see. When every check for a level passes, the next level opens below.
- The clock is a target, not a wall. If time runs out, keep going: finishing late is still practice.
- Hints and the AI tutor are off while the clock runs, the same as a real assessment.