Antra Interview Question

Replace "a" with "*" in a given string. And Palindrome string question