MongoDB Interview Question

reverse a number without using strings