Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8d5cc4b

Browse files
committedMar 28, 2024
Resolve merge conflict in checkPalindrome function
1 parent ad98cee commit 8d5cc4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎String/CheckPalindrome.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Checks if a string is a palindrome.
33
* A palindrome is a word, phrase, number, or other sequence of characters that reads the same forward and backward.
4-
* Palindrome check is case sensitive; i.e., "Aba" is not considered a palindrome.
4+
* Palindrome check is case sensitive; i.e., "Aba" is not considered a palindrome.
55
* @param {string} str The input string to be checked for palindrome.
66
* @returns {string} Returns 'Palindrome' if the input string is a palindrome,
77
* 'Not a Palindrome' if it is not, or an error message if the input is not a valid string.

0 commit comments

Comments
 (0)
Please sign in to comment.