Maveric Systems Interview Question

String reverse logic, prime number, armstrong logic