Focal Systems Interview Question

Reverse number 12345 to 54321 without using vectors?