Company: Sanofi_15nov
Difficulty: medium
Palindrome Linked List Words Problem Description You are given a series of N words (inputWords) where its characters separated by spaces represent each word. Each character is represented as a node of a double-linked list. Your task is to determine if each word is a palindrome. A palindrome is a sequence of characters that reads the same backward as forward. You need to process N multiple words and generate a result indicating whether each word is a palindrome or not. If a word is palindrome, print 'true' otherwise print 'false'. Read the input from STDIN and print the output to STDOUT. Do not write arbitrary strings anywhere in the program, as these contribute to the standard output, and test cases will fail. Input Format The first line contains an integer N, the number of words in inputWords. The next N lines contain N words (inputWords), each word is separated by a new line and each character of a word is separated by a single white space. Output Format The output consists of N line