Intelliswift Interview Question

Reversing a string,amstrong number