Category "palindrome"

Creating a palindrome checker with Python's loop and if statements

I am trying to follow the instructions to create a palindrome. I am given half a function, and I have to fill in the blanks. I am currently unable to get the lo

Check If Linked List is Palindrome in JavaScript

I have written the following function in JavaScript to check if a singly Linked List is a palindrome. However, I'm failing 2 out of 10 tests, and I can't figure

Check whether string in palindrome : C# code efficiency

I am coming from C background and recently started writing in C# so please don't mind if my question seems somewhat basic. Basically, i want to write a function

How to make palindrome program using recursion ignore special characters in all places of the string in java?

I am having a slight logic error with my palindrome program in that when I insert special characters in the front or end of the string I get an indication that

Check if a permutation of a string can become a palindrome

Write a method to test if a string meets the preconditions to become a palindrome. Eg: Input | Output mmo | True yakak | True travel |

On the Leetcode Palindrome problem (number 234), why is my JavaScript solution not passing all the test cases?

I'm working on the palindrome question, and failing the [1,2] test case. Below is my code: var isPalindrome = function(head) { var listLength = head.length

How to write palindrome in JavaScript

I wonder how to write palindrome in javascript, where I input different words and program shows if word is palindrome or not. For example word noon is palindrom