First, congratulations for the work, the book is very instructive. In this case, as described in the book, if the list is empty it returns zero, otherwise we apply recursion. Co-authored-by: Aditya Bhargava <bluemangroupie@gmail.com>