Question
What is the significance of the "best case" time
complexity of an algorithm?Solution
The best-case time complexity describes the minimum amount of time an algorithm takes to execute for a particular input, often under ideal conditions (e.g., searching for the first element in a linear search, or a sorted array for insertion sort).
- A shopkeeper sold two products for Rs. 200 each. He earned a profit of 40% on one and incurred a loss of 30% on the other. Calculate the approximate differ...
Mayank gives 25% discount to his customer but he sells only smuggled goods and as a bribe he pays 10% on the cost price. Find what should be the Marked ...
A chair is purchased for Rs. 2400 and Rs. 600 is spent on its repair. The chair is then marked 20% above its effective cost price and then sold for Rs....
The profit on selling an article for Rs.425 is the same as the loss on selling it for Rs.355, then the cost price of the article is
A man sells an article at a certain price incurring 20% loss. If he had sold the same article for Rs. 20 more he would have earned 20% profit. What was ...
A shopkeeper sold a school bag at a profit of 30%. Had he sold the school bag at 15% profit he would have earned Rs.105 less. Find the cost price of the...
A shopkeeper sells rice at 10% profit and uses weight 30% less than the actual measure. His gain percent is
A shopkeeper sells a luxury watch at a markup price, which is (100/3)% above its cost price. Had he purchased the watch for Rs. 300 more and sold it aft...
Ratio of MP and SP of an article is 5:3 and the article is sold at 20% profit. Find cost price of article, if the selling price is 100 more than its CP?
- If the total cost of 9 mangoes and 6 oranges is Rs. 270 and the total cost of 7 mangoes and 4 oranges is Rs. 200, then find the cost of 5 mangoes.