We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Add to Head

For added flexibility, let's allow users to add items to the front of our linked list as well.

Assignment

Implement the add_to_head method. It should add a new node to the front of the list and return nothing.