Can you please help with the code in Python 3.7?

Can you please help with the code in Python 3.7? I have been trying but unable to get so.
1- Develop an algorithm which locates/finds the second-to-last node in a singly linked list, the last node has a next reference referring to None.
2- Develop a special case of the Stack Class data structure whereby the pop function always pops the second to the top node. So basically, the top node always stays the same and the node lying under it is always popped out.
3- Develop an algorithm which swaps the positions of two contiguous/adjacent nodes in a doubly linked list
 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code “Newclient”

The post Can you please help with the code in Python 3.7? appeared first on Superb Professors.

"Order a Custom Paper on Similar Assignment! No Plagiarism! Enjoy 20% Discount"