Question
The income of P is 5/7th of the income of Q
and income of R is 60% more than the income of Q. Income of Q is Rs.21000 and expenditure of P is 20% of the expenditure of R. If R saves 25% of his income, then find the savings of P. TYPE 21Solution
Income of Q = Rs.21000 Income of P = 5/7 × 21000 = Rs.15000 Income of R = (160/100) × 21000 = Rs.33600 Savings of R = 33600 × (25/100) = Rs.8400 Expenditure of R = 33600 - 8400 = Rs.25200 Expenditure of P = (20/100) × 25200 = Rs.5040 Savings of P = 15000 - 5040 = Rs.9960
Which algorithm is used for computing Max-Flow in a network?
Given the following code snippet, which operation is performed on the binary tree to produce the output: 4, 2, 5, 1, 3 ?
class Node {Â Â Â Â Â in...Which data structure is most suitable for implementing a priority queue with logarithmic time complexity for insertion and deletion?
Tarjan’s algorithm is used to find:
In C++, which access specifier makes members accessible only from within the class itself and from friend functions/classes?
What is the worst-case time complexity for inserting an element into a hash table that uses separate chaining for collision resolution?
In a graph, what is the maximum number of edges in a simple undirected graph with 'n' vertices?
Time complexity of heap sort is:
Which of the following is true about triggers in a relational database?
What is the primary purpose of an abstract class?