I hereby claim:
- I am waylonis on github.
- I am waylonis (https://keybase.io/waylonis) on keybase.
- I have a public key whose fingerprint is C83C 8CFE 522C 9519 9D5B 191A 5046 DE30 C493 BE44
To claim this, I am signing this object:
func isPalindrome(sequence: String) -> Bool { | |
// Start the indexes at the beginning and ending of the string | |
var findex = sequence.startIndex; | |
var bindex = sequence.index(before: sequence.endIndex); | |
// While they don't meet, check if the characters match | |
while findex < bindex { | |
if sequence[findex] != sequence[bindex] { | |
return false | |
} |
I hereby claim:
To claim this, I am signing this object: