Array Representation / Memory Representation of Queue

No comments


Array Representation / Memory Representation of Queue :-
Queue are abstract  data types. They are implemented either by an array or linked list. In array representation, in queue to pointers or variables front and rear are used to track the front rear of a queue. Initially all the elements of a queue are incised to (-1) to indicate an empty queue. When ever an item is inserted in the queue the rear variable or pointer is incremented by (1) to indicate the next empty cell.
When ever the item is deleted from the queue front variable or pointer is incremented by (1) to indicate the new front of the queue.

array representation of queue,array and linked list representation of queue,explain array representation of queue,array representation of queue data structure,memory representation of array,representation of queue as an array,memory representation of array in hindi
Fig - Array/Memory Representation of Queue

No comments :

Post a Comment

Subscribe

Milan Panda
Admin
About Me | Contact
Copyright 2023-2024 © Programming1011 . 🎀 Developed and Design By- Milan Panda. Happy Holi All Of You 🎀