Why is it not possible to use a dummy node in an SLList to avoid all the special cases that occur in… 1 answer below »

1. Why is it not possible to use a dummy node in an SLList to avoid all the special cases that occur in the operations push(x), pop(), add(x), and remove()?

2. Design and implement an SLList method, second Last (), that returns the second-last element of an SLList. Do this without using the member variable, n, that keeps track of the size of the list.

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.