Question
Consider the Quick Sort algorithm with the last element
as the pivot. For the array [7, 2, 1, 6, 8, 5, 3, 4], what will be the state of the array *after the first partitioning step* if 4 is chosen as the pivot?Solution
The correct answer is A
- A quantity is increased by 25% and afterward decreased by 10%. What is the overall percentage change in the original quantity?
80% of a number is equal to 60% of another number. If the total of both numbers is 560, find the difference between them.
In an examination, the passing percentage is 35%. 'P' scores 8% less than the passing marks, and 'Q' scores 25% less than 'P'. What percentage less (up ...
A and B have incomes in the ratio of 5:6. A spends 30% of his income and manages to save Rs. 17,500. Based on this information, calculate the income of B.
A student scored 63 in Maths, 72 in Science and 55 in English, each out of 100. What is his overall percentage?
Monthly savings of X is 60% of his monthly income which is Rs. 7500. If ratio of monthly expenditure of Y and X is 15:8 respectively and monthly savings...
Monthly savings of βAβ is Rs. 1600 more than his monthly expenditure and his total monthly income is Rs. 4800. If his monthly income is increased by...
In a colony, there are 90 APL families and 46 BPL families. Each APL and BPL family got blankets equal to 25% and 75%, respectively of total number of f...
A shopkeeper marks up the price of an article by 30% and then gives a 20% discount on the marked price. If the final selling price is βΉ2,184, determin...
- If a seller gives successive discounts of 30% and 5%, what is the net equivalent discount?