Algorithm

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