Nagarro Interview Question

What would be time complexities if we insert at the head node and delete from the tail node?

Interview Answer

Anonymous

Sep 12, 2021

For insertion, it's O(1), For deletion, it's O (n)