Getir Interview Question

Can you write a recursive function?