|
0
I got your approach,It's fine. but what 's wrong with mine? |
|
0
Can anybody please help to point out where I am going wrong in problem B it failed on 8th pretest
a. Cancel the flight from A to B and use the next Flight from A to B b. Cancel the flight I found by binary search and
If in this process the next flight from B to C cannot be chosen I print -1. |