Are Stacks and Queue considered LinkedList?
The time complexity of indexing a LinkedList is 0(n). So am I right to assume that's the same for stacks and queues.
Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.
Follow us on:
Subscribe to get latest updates