+ 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?
1 Antwort
+ 1
That's definitely a worst case. The best case would be free, lol. The average case would be probably closer to $5,000.