A new airlines company is planning to start operations in a country. The company has identified ten different cities which they plan to connect through their network to start with. The flight duration between any pair of cities will be less than one hour. To start operations, the company has to decide on a daily schedule.
The underlying principle that they are working on is the following:
Any person staying in any of these 10 cities should be able to make a trip to any other city in the morning and should be able to return by the evening of the same day.
Suppose the 10 cities are divided into 4 distinct groups G1, G2, G3, G4 having 3, 3, 2 and 2 cities respectively and that G1 consists of cities named A, B and C. Further, suppose that direct flights are allowed only between two cities satisfying one of the following:
1. Both cities are in G1
2. Between A and any city in G2
3. Between B and any city in G3
4. Between C and any city in G4
Then the minimum number of direct flights that satisfies the underlying principle of the airline is:
Correct Answer: 40
In G1, we have three cities namely A, B, C. Person living in any of these three cities should be able to travel to other city once in the morning nad one in the night. Therefore, a total of 4 flights are required between a pair of cities.
A ---> B (Morning flight)
A ---> B (Evening flight)
B ---> A (Morning flight)
B ---> A (Evening flight)
Number of flights between the cities of G1 = 3c2*4 = 12
Between cities in A and any city in G2 = 3*4 = 12
Between B and any city in G3 = 2*4 = 8
Between C and any city in G4 = 2*4 = 8
Total = 12*2 + 8*2 = 40
Create a FREE account and get: