Open mengyushi opened 4 years ago
[["JFK","KUL"],["JFK","NRT"],["NRT","JFK"]]
graph = {JFK:[(NRT),(KUL)], NRT:[(JFK)]}
stack = [JFK]
route = []
stack = [JFK,KUL]
stack = [JFK]
route = [KUL]
stack = [JFK,NRT]
stack = [JFK,NRT,(JFK)]
route = [JFK,KUL]
stack = [JFK,(NRT)]
route = [NRT,JFK,KUL]
stack = [JFK]
route = [JFK,NRT,JFK,KUL]