0
https://code.sololearn.com/ca54A16A08A6/?ref=app
1) How to add DoublyLinkedList class a member function reversList() which reverses the order of the elements of the list. 2) How to add DoublyLinkedList class a member function isSorted() which returns a Boolean indication if the list is sorted in increasing order or not.
6 Answers
+ 1
1 change head and tail after for each element swap attributes prev and next
+ 1
2 check for each node if next > self.
+ 1
https://code.sololearn.com/ca54A16A08A6/?ref=app
in increasing order or not.
+ 1
You have come far...u can do it yourself.
At least show an attempt.
0
can you execute it for me, please?
0
okay I will, thank you



