OSIsoft Interview Question

Asked about how to write a recursive function.