Question
The time complexity of the best case for QuickSort
is:Solution
When the pivot divides the array evenly, QuickSort achieves O(n log n) performance.
Three boys runs around a circular track and takes 10 min, 30 min and 35 min respectively to complete the one round. When do they all come relatively to ...
The sum of two numbers is 444 and their HCF is 37. Find all the possible pairs of such numbers?
The HCF of two numbers is 18. Which of the following can never be their LCM?
The HCF and LCM of two consecutive even number is 2 and 112 respectively. Find the sum of reciprocal of these two numbers?
If the highest common factor of two numbers is 18, then which of the following may be the least common multiple of the numbers?
Rs. 21,000 is split between 'P', 'Q', and 'R' such that one-third of P’s share equals 25% of Q’s share, and equals one-seventh of R’s share. Find ...
A dealer purchased 16 gadgets at Rs. 30 each. He sold 6 at 20% profit, 4 at 15% loss, and the rest at 10% profit. Compute the overall profit or loss.
Find the greatest number of four digits which is exactly divisible by 12, 15, 20 and 35?
What will be the greatest common divisor (GCD) of (x² - 6x + 8) and (x² - 9x + 20).
Find the LCM of 14, 20 and 30.