Oracle Interview Question

Coding problem to use Java threads and semaphores to synchronize processes.