Why Use It

Given that recursion is in general less efficient, why would we use it? There are two situations where recursion is the best solution: