I had to write a little function thethat would find a key in a dictionary given a value, since when backtracking we know the id of the room we are trying to get to, but not which door to use to get to it.
added 63 characters in body, I was using two meanings of the word map, so I replaced some with dictionary.
CiscoIPPhone
- 5.3k
- 3
- 34
- 39
added 63 characters in body, I was using two meanings of the word map, so I replaced some with dictionary.
CiscoIPPhone
- 5.3k
- 3
- 34
- 39