![]() ![]() No element can be removed from the rear end or from the middle of the queue. The element first entered in the queue is removed first as well. Our Queue data structure in java also works in the same way. How does it work? The person standing first submits the assignment first and comes out of the queue. You must have stood in a queue while submitting your assignments to your teacher or in a voting line.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |