Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 603 Bytes

File metadata and controls

15 lines (13 loc) · 603 Bytes

Stacks and Queues

Challenge Type: New Implementation Using a Linked List as the underlying data storage mechanism, implement both a Stack and a Queue

Whiteboard Process

STACK AND QUEUE

Approach & Efficiency

The code has a time complexity of O(1) for all operations and a space complexity of O(1).

Solution

python3 tests/test_stackqueue.py exicution