Miscellaneous On Data Structures - Study Mode

[#646] What will be the lexicographical order of permutations formed from the array arr={1,2,3}?
Correct Answer

(C) {{1,2,3},{1,3,2},{2,1,3},{2,3,1},{3,1,2},{3,2,1}}

[#647] What is the computational complexity of Binary GCD algorithm where a and b are integers?
Correct Answer

(A) O (log a + log b) 2 )

[#648] Chan's algorithm is used for computing . . . . . . . .
Correct Answer

(B) Convex hull

[#649] Which of the following was the first diagram substitution cipher?
Correct Answer

(D) playfair cipher

[#650] In a graph, perfect matching exists only if the number of vertices is even.
Correct Answer

(A) True