Question
Ravi lends Rs. 5,000 to two of his friends. He gives
Rs.2500 to the first at 15% p.a. simple interest. Ravi wants to make a profit of 20% on the whole. The simple interest rate at which he should lend the remaining sum of money to the second friend isSolution
Let Ravi lend the sum at x% rate to the second friend. According to the question, 15% × 2500 + x% of 2500 = 20% of 5000 ⇒  15 × 25 + 25x = 20 × 500 ⇒ 25x = 1000 – 375 ⇒  25x = 625 ⇒  x = 25 Hence, the required rate of interest is 25% p.a.
Which sorting algorithm divides the array into halves recursively?
In dynamic programming, which principle ensures correctness by solving overlapping subproblems and storing results?
Which of the following operations on a data structure refers to the removal of an element from the front of a queue?
Which of the following algorithms is most appropriate for a sorting task that requires minimal auxiliary space?
In mobile computing, what is the main feature of pervasive computing?
Which of the following is true for the time complexity of binary search?
Recursive problems are implemented by
Which of the following algorithms uses a greedy approach?
The time complexity of computing the all-pairs shortest paths in a dense graph with V vertices using Floyd–Warshall is:
In dynamic programming, overlapping subproblems and _________ are key properties.