How to do a cyclic doubly link list add method in java
问题 I am implementing the add(E) method in the cyclic DoublyLinkedList class as well as the Node inner class. Node should be implemented as a private inner class. DoublyLinkedList's "first" attribute should point to the first node in the list. Its "size" attribute should store the number of elements in the list. I am struggling on my add method, because it feels like nothing is wrong and I don't know what else I can add this this code that can fix it. Therefore a brief introduction on what the