Skip to content
RED SAG Skills
easy5 pts · first answer countsstacks-and-queues

Building a stack on a linked list

You build a stack on a singly linked list. Where should push and pop happen so both are O(1)?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions