Question 71
Consider a singly linked list with head pointer. What is the time complexity to insert a new node at the END of the list if ONLY the head pointer is given?
Without a tail pointer, one must traverse all N nodes from head to reach the last node before inserting, taking O(N) time.