Krawler Interview Question

basic programming like string manipulation, matrix , prime number , perfect number