digio interview question

Dijkastra algorithm , 3d Dynamic programming, promises in java