Leetcode Doubly Linked List Problems In Python Programming