You are viewing a single comment's thread. Return to all comments →
I like this, the if not head is only for checking if the list is empty. and if not head.prev is the terminate condition for recursive, am I right?
Hi, yes, you are correct on both counts.