您即将离开知乎,请注意您的账号和财产安全。
https://www.geeksforgeeks.org/find-if-there-is-a-path-between-two-vertices-in-a-given-graph/