MileIQ interview question

Explain the difference between semaphore and group tasks