鹏博

  • 面完告诉白面了,重新on campus开始面
  1. LC 妻散就, Daily Temperature 变形,要考虑两个方向的,two pass

  2. You have many airports, as airport may connects to several airports. Given a source and destination, print all possible paths (each airport can appear at most once in the path)

Eg: Input: JDF-> BOS, CHI->JDF, CHI->BOS

Source: CHI, Dest: BOS

Output: CHI->BOS, CHI->JDF->BOS

请问第2题楼主可以讲一下思路吗?