Amazon Interview Question

Preemptive Multithreading