Question
There are two wrong number series given in question and
three relationships has been derived from that you have to answer the correct relationship between the two wrong numbers. I) 116, 351, 676, 3171, 9516, 28551 II) 493, 504, 528, 584, 623, 698 i) Difference between two wrong numbers is 84 ii) Both the numbers are divisible by 4 iii) Ratio of two wrong numbers is 14:11Solution
116 * 3 + 3 = 351 351 * 3 + 3 = 1056 1056 * 3 + 3 = 3171 3171 * 3 + 3 = 9516 9516 * 3 + 3 = 28551 The Wrong term is 676 Series II, 493 + (11 * 1) = 504 504 + (12 * 2) = 528 528 + (13 * 3) = 567 567 + (14 * 4) = 623 623 + (15 * 5) = 698 The Wrong term is 584 i) Difference between two wrong numbers = 676 – 584 = 84, true ii) Both the numbers are divisible by 4, true iii) Ratio of two wrong numbers is 14:11, false
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?