Deadline: 2022-03-08 24:00
6 8 2 5 1 0 2 1 3 2 1 3 0 5 2 4 4 5 4 3The next dictionary belongs to this graph
graph = {0: [5], 1: [0, 3], 2: [1, 4], 3: [2], 4: [5, 3], 5: []}
parent = {1: 2, 4: 2, 0: 1, 3: 1, 5: 4} from_where = 2 to_where = 5the shortest path is [2, 4, 5].