Miscellaneous On Data Structures - Study Mode

[#576] What is the time complexity of the above recursive implementation of binary search?
Correct Answer

(C) O(logn)

[#577] How many 2*2 matrices are used in this problem?
Correct Answer

(B) 2

[#578] The sum and composition of two polynomials are always polynomials.
Correct Answer

(A) true

[#579] Consider the following number of activities with their start and finish time given below. In which sequence will the activity be selected in order to maximize the number of activities, without any conflicts? Activity Starting time Finish time A1 1 2 A2 2 5 A3 1 5 A4 3 6 A5 6 8 A6 4 9
Correct Answer

(A) A1, A2, A5

[#580] Cross product of two vectors can be used to find?
Correct Answer

(C) area of parallelogram