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

Why use a dummy head node

Many linked list solutions start with const dummy = new Node(0); dummy.next = head. Why?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions