Katkat
Technical Screen

Three Threads Printing 0 Through n in Order

ArizeSoftware Engineer · Technical Screen · Aug 2026

Sharing an interview from a less commonly discussed company. The problem was to have multiple threads print the numbers from 0 through n in alternating turns. Given a number n, three specified threads must cooperate to print every number from 0 through n in order. The output must also identify which thread printed each number. The thread responsibilities were: ZeroThread prints 0, and 0 can be pr…

Shared by a candidate · reported Aug 2026. Interview formats change; use it as a guide, not a script.