PlaxidityX interview question

A very simple recursion question