![]() for the last element, reset the values of FRONT and REAR to -1.circularly increase the FRONT index by 1.add the new element in the position pointed to by REAR.if the rear reaches the end, next it would be at the start of the queue) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |