[Solved] There are N cities in a country. George is initially at the airport in city 1 and he wants to reach city N.C++,Java, Python
There are N cities in a country. George is initially at the airport in city 1 and he wants to reach city N. For any city i, there is either a flight to city (i+1) or to (i+3) if it…