Confluent interview question

Dijkstra Algorithm, threads, semaphores, mutex