English

In the dequeue function, how are elements removed from the front of the queue?

Advertisements
Advertisements

Question

In the dequeue function, how are elements removed from the front of the queue?

Options

  • Using remove(0)

  • Using index(0)

  • Using queue_name[0]

  • Using pop(0)

MCQ
Advertisements

Solution

Using pop(0)

shaalaa.com
  Is there an error in this question or solution?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×