Question
How many days will it take for 4 boys and 10 girls to
complete the task? Statement I: A group of 5 boys and 8 girls can finish the task in 12 days. Statement II: A group of 8 boys and 10 girls can finish the same task in 8 days. The questions contain two statements as statement I and statement II. Determine which statement/s is/are necessary to answer the question and give an answer as,Solution
ATQ, Let Boys and girls taken as 'b' and 'g' respectively,
(5 b + 8 g) * 12 = (8 b + 10 g) * 8 15 b + 24 g = 16 b + 20 g 4 g = 1 b 5 b + 8 g = 20 g + 8 g = 28 g 4 b + 10 g = 16 g + 10 g = 26 g Girls     days 28         12 26          ? Required days = (28 * 12) / 26 = 12 12/13 days Both Statements I and II together are sufficient to answer the question.
What is a "collision" in the context of hashing?
Which protocol provides secure authentication by encrypting credentials before transmission and uses a challenge-response mechanism?
What is the time complexity for accessing an element at a specific index in an array?
Which heap property is correct?
Which of the following data structures is best suited for implementing a LIFO (Last In, First Out) mechanism?
Which algorithm constructs a suffix tree in linear time?
Which of the following statements is true about deadlocks in an operating system?
What does Big O notation primarily describe?
Which tree traversal gives nodes in non-decreasing order for a BST?
Which data structure uses LIFO (Last In, First Out) principle?