Pergunta de entrevista da empresa Focal Systems

Reverse number 12345 to 54321 without using vectors?