1 1 vote Data Structures data-structures + – pritigoya 1.6k views answer comment Share Follow Print See all 7 Comments 7 7 Comments reply Show 4 previous comments Deepanshu commented Sep 9, 2018 reply Follow flag @vin101 WHY REAR AT 3 ????? REAR POINTS TO POSITION WHERE NEXT ELEMENT HAS TO BE INSERT. SO WHY 3 0 0 replyShare vin101 commented Sep 9, 2018 i edited by vin101 Sep 10, 2018 reply Follow flag Well it's a matter of adopting a convention to disambiguate between queue empty and full conditions Also after inserting at 2nd index rear points to next position where element has to be inserted hence 3. 0 0 replyShare `JEET commented Nov 19, 2019 reply Follow flag $34$ should be the answer. Where there is so much confusion. and how come the answer happens to be $39$ @pritigoya 0 0 replyShare Please log in or register to add a comment.
1 1 vote the ans is 34 anjali007 answered Sep 9, 2018 anjali007 comment Share Follow See 1 comment 1 1 comment reply `JEET commented Nov 19, 2019 reply Follow flag Good explanation. 0 0 replyShare Please log in or register to add a comment.