Let the total amount of work = 24 units {LCM of 12 and 24} Then, efficiency of ‘A’ = 24/12 = 2 units/day Efficiency of ‘B’ = 24/24 = 1 units/day Combined efficiency of ‘A’ and ‘B’ = 2 + 1 = 3 units/day Work completed by ‘A’ and ‘B’ together in 4 days = 3 × 4 = 12 units Remaining work = 24 – 12 = 12 units Time taken by ‘A’ alone to complete the remaining work = 12/2 = 6 days
Which keyword is used to allocate dynamic memory in C++?
In which part of a function are local variables typically declared?
Attributes that do not exist in the physical database, but their values are derived from other attributes present in the database.
What is the purpose of the "GROUP BY" clause in an SQL query?
In a compiler, keywords of a language are recognized duringÂ
Which type of variable has the widest scope and can be accessed from any part of the program?
Sending a packet to all destination simultaneously is called
Which tree traversal visits the nodes in the order: left, root, right?
What is machine learning?
In dynamic programming, what is memoization?