thedoginthewok lemmy.worldIt's easy to understand, when you turn the brackets into readable characters. o for opening bracket ( c for closing bracket ) So ()() would be ococ, which is coco backwards and clearly not a palindrome. ())( would be occo, which is a palindrome.134
NightDice feddit.de1Hide 1 replyThe brackets example is the one I use to drill into people's heads that it has nothing to do with visual symmetry47
wwolfpack86 replylemmy.worldI guess to make it more relatable it could be better as db db // db bd My brain defaulted to assuming it was a programming reference20
It's easy to understand, when you turn the brackets into readable characters.
o for opening bracket (
c for closing bracket )
So ()() would be ococ, which is coco backwards and clearly not a palindrome.
())( would be occo, which is a palindrome.
The brackets example is the one I use to drill into people's heads that it has nothing to do with visual symmetry
I guess to make it more relatable it could be better as
db db // db bd
My brain defaulted to assuming it was a programming reference
Meanwhile in my brain:
))<>((
back and forth.... forever
In my brain, "first one looks like boobs 👍"
Unintentional Goatse?
thanks, satan.