Exterro Interview Question

A reverse of number string .