You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is obviously incorrect.
According to implementation It's enough that the last pair of characters be the same to return true. However all pairs of characters need to be the same for the string to be considered a palindrome.
Would be nice if implementations came with tests.
The text was updated successfully, but these errors were encountered:
MATLAB-Octave/algorithms/Strings/isPalindrome.m
Line 17 in 48e12fa
This is obviously incorrect.
According to implementation It's enough that the last pair of characters be the same to return true. However all pairs of characters need to be the same for the string to be considered a palindrome.
Would be nice if implementations came with tests.
The text was updated successfully, but these errors were encountered: