My doubt is that the single list queue is the form : 1->2->3->4->5->6->7->8->9->NULL with 1 as the rear node and 9 as the front node. Also, in a queue, addition takes from the rear and the deletion from the front, so a structure like above should be there. Then deletion of front item should take O(n) time and rear item O(1) time, right? I just want to confirm whether my answer was right or the answer given.
Source : testbook.com live test on 3rd January, 2016