Flow Traders Interview Question

Find 2 bugs in a dijkstra algo