Back to exercises

Palindrome Check

Compare characters from the left and right ends while moving inward. Normalize case or strip non-alphanumeric characters only if the prompt requires it.

Coding Exercises Easy O(n)

Palindrome Check

Compare characters from the left and right ends while moving inward. Normalize case or strip non-alphanumeric characters only if the prompt requires it.

Determine whether a string reads the same forward and backward.