Dematic Interview Question

How to add elements to a list. Recursion.