Write algorithm to determine for a list of characters whether or not it forms a palindrome (spelled the same either forward or backward). For example RADAR is a palindrome. Assume that only upper-case letters are used. Write algorithm to get the characters, conduct the palindrome test, and output the result "Yes it is a palindrome" or "No it is not a palindrome".