1.

Consider below sequences: array=60 90 10 100 40 150 90 reverse 2 to 3 array=60 10 90 100 40 150 90 reverse 3 to 6 array= 60 100 150 40 100 90 90 now printout from 1 to 6 : 60 100 150 40 100 90How to achieve the above operation efficiently?

A. Use linked lists
B. Use avl trees
C. Use red-black trees
D. Use treaps (cartesian trees)
Answer» E.


Discussion

No Comment Found