Question
The average age of A and B is 17 years. If A is to be
replaced by C, the average would be 16 years. The average age of C and A is 18 years. Find the age of A.Solution
A + B = 2 × 17 = 34 yr B + C = 2 × 16 = 32 yr C + A = 2 × 18 = 36 yr On adding all three, 2 (A + B + C) = 34 + 32 + 36 = 102 ⇒ A + B + C = 51 ∴ A = (A + B + C) – (B + C) = 51 – 32 = 19 yr
Recursive problems are implemented by
Which of the following is considered the strongest type of encryption method in modern cyber security practices?   Â
Which algorithm finds the longest common subsequence (LCS) of two sequences?
What is the worst-case time complexity of QuickSort with a random pivot for sorting n distinct elements?
Which traversal method in a binary search tree retrieves nodes in sorted order?
Dynamic Programming is preferred over recursion when:
Which sorting algorithm is not stable by default?
Which file structure is best suited for handling large datasets and ensuring fast access in C, C++, Java, or Python?    Â
In Database Management Systems, what is the primary purpose of normalization?
Which architecture allows multiple processors to share memory and work simultaneously?     Â