• + 1 comment

    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?