Swosti interview question

Prime number, String reverse, etc.