Retired

Palindrome or not (retired)

Description:

A PALINDROME is a word, number, phrase, or other sequence of characters which reads the same backward as forward, such as madam or racecar or the number 10801.

Given a string in a function, create an algorithm that determines whether the string is a palindrome or not.

Examples.

isPalindrome("Ana lava lana") ---> true

isPalindrome("Hello my name is Ana") ---> false

isPalindrome("Madam, I'm Adam") ---> true

isPalindrome("14941") ---> true

isPalindrome("81924") ---> false

Algorithms
Logic
Regular Expressions
Declarative Programming
Advanced Language Features
Programming Paradigms
Fundamentals
Strings

Stats:

CreatedFeb 22, 2019
Warriors Trained142
Total Skips0
Total Code Submissions442
Total Times Completed28
JavaScript Completions28
Total Stars3
% of votes with a positive feedback rating38% of 12
Total "Very Satisfied" Votes4
Total "Somewhat Satisfied" Votes1
Total "Not Satisfied" Votes7
Total Rank Assessments9
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • DeividZ Avatar
Ad