Question
A, B, and C jointly established a business, contributing
initial investments in the ratio of 7:5:13. One year into the venture, they each decided to increase their stakes by adding Rs. 1,520, Rs. 960, and Rs. 2,320, respectively. After operating for two years, their venture generated a total profit of Rs. 6,780. Calculate B's portion of the profit.Solution
Let the initial investments of A, B and C be Rs. 7x, Rs. 5x and Rs. 13x, respectively. So, the ratio of profit share of A: B: C = (7x + 7x + 1520): (5x + 5x + 960): (13x + 13x + 2320) = (14x + 1520): (10x + 960): (26x + 2320) So, the profit share of B = {(10x + 960)/ (50x + 4800)} × 6780 = (1/5) × 6780 = Rs. 1,356Â
Which data structure is typically used to implement Breadth-First Search (BFS)?
In a binary tree, if the number of leaf nodes is L, what is the number of nodes with two children?
Which of the following sorting algorithms is a non-comparison-based sort?
Dynamic Programming is useful when a problem has:
Recursive problems are implemented by
In a binary search tree (BST), what is true about the left child of a node?
Which is not true about minimum spanning tree?
In Data Communication, what protocol is used to ensure reliable transmission of data over a network?
A unique piece of information that is used in encryption.
What is the space complexity of Bubble Sort?