Question
A and B together can complete a work in 12 days. B and C
together can complete the same work in 15 days, and A and C together can complete it in 20 days. How long will it take for A, B, and C to complete the work if all three work together?Solution
A+B = 12 days B+C = 15 days C+A = 20 days Let the total work has to be done by them = LCM of 12, 15, 20 = 300 A+B works in one day = 300/12 = 25 unit B+C works in one day = 300/15 = 20 unit C+A works in one day = 300/20 = 15 unit A+B+B+C+C+A = 25+20+15 = 60 unit A+B+C = 60/2 = 30 units Time taken to finish the work by A+B+C = 300/30 = 10 days
Time complexity of heap sort is:
Which type of database key is a candidate key that has not been chosen as the primary key?
Which data structure uses LIFO (Last In, First Out) principle?
In a data warehousing environment, what is the primary purpose of an OLAP (Online Analytical Processing) cube?
- Which of the following is the primary characteristic of Infrastructure as a Service (IaaS) in cloud computing?
Which of the following accurately describes the role of a "foreign key" in a relational database system?
Deletion in Red-Black Trees maintains balance using:
Which SQL command is used to remove only specific rows from a table while preserving the structure and other rows?
In the dynamic programming approach for LCS, the base cases are crucial for correctly initializing the dp table.
Consider the following Python co...
RISC stands for: