+ 1

Interview Question of Design and Analysis of an Algorithm.

They asked that if there's a person who wants to go abroad So, he asks to a person who tells him the cost around $50,000 to visit a country.That cost is an approximate value. Here, this is the example of what type of complexity? Worst? Best? Average?

22nd Nov 2018, 1:25 PM
Sin Cos Ø
Sin Cos Ø - avatar
1 Réponse
+ 1
That's definitely a worst case. The best case would be free, lol. The average case would be probably closer to $5,000.
13th Dec 2018, 7:47 AM
bornToCode()
bornToCode() - avatar