1.

Number of "ADD" and "REMOVE" operations required to access n/2th elements of a queue of "n" elements so that the original queue remain the same after the access is (take help of another queue.)

A. 2*n
B. 4*n
C. 8*n
D. 8*n-1
Answer» C. 8*n


Discussion

No Comment Found