WellDev Interview Question

Write a recursive function to reverse a number.