Skip to content

deivid94/Palindrome-FightCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

FightCode: Given the string, check if it is a palindrome.

javascript

Example

  • For inputString = "aabaa", the output should be solution (inputString) = true;
  • For inputString = "abac", the output should be solution(inputString) = false;
  • For inputString = "a", the output should be solution(inputString) = true;

Input/Output

  • input string inputString

A non-empty string consisting of lowercase characters.

Guaranteed constraints: 1 ≤ inputString.length ≤ 105.

  • Output boolean

true if inputString is a palindrome, false otherwise.


linkedn   |    github    |    hackerrank

About

CodeSignal Solution Challenge Verify if the string is the palindrome

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published