Examveda

Consider yourself to be in a planet where the computational power of chips to be slow. You have an array of size 10.You want to perform enqueue some element into this array. But you can perform only push and pop operations .Push and pop operation both take 1 sec respectively. The total time required to perform enQueue operation is?

A. 20

B. 40

C. 42

D. 43

Answer: Option D


This Question Belongs to Data Structure >> Introduction To Data Structures

Join The Discussion

Comments (1)

  1. Dr KD
    Dr KD:
    3 months ago

    The answer would be B) 40

Related Questions on Introduction to Data Structures