2 2 votes An airline runs flights between several cities of the world. Every flight connects two cities. A millionaire wants to travel from Chennai to Timbuktu by changing at most $k_1$ flights. Being a millionaire with plenty of time and money, he does not mind revisiting the same city multiple times, or even taking the same flight multiple times in his quest. Can you help the millionaire by describing how to compute the number of ways he can make his journey? How many steps does your procedure take if there are $n$ cities and he can change flights at most $k_1$ times. You can assume that the procedure can add or multiply two numbers in a single operation. Algorithms cmi2015 descriptive algorithms algorithm-design + – go_editor 807 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
0 0 votes Answer: soujanyareddy13 answered May 6, 2021 soujanyareddy13 comment Share Follow 0 reply Please log in or register to add a comment.