Oracle Interview Question

Dijkistra shortest path algorithm similar to it Java concurrency