Write an algorithm for

  

Write an algorithm for the add method that will add at the end of the list instead of the beginning. What is the time complexity of this algorithm? 

Tags: No tags