Hacker News new | ask | show | jobs
by rex_lupi 1268 days ago
Probably the most low-effort blog post I've read in a while
5 comments

Funny enough, I came to the comments section to say how much I enjoy the occasional short post that touches on one thing and moves on.

I don’t need my life to be chock full of deep dives into ideas.

Seems like there isn't much material to expand upon "()()" versus "())(".

I prefer this other article about palindromes:

Was It A Cat I Saw? - https://news.ycombinator.com/item?id=33285198

I had to work harder than expected to get this. I interpret the cartoon as distinguishing between meaning and form. Until I read it aloud, I couldn't stop interpreting the strings as

open close open close

in both directions.

Thanks for explaining this.. I honestly had no idea, even tried to google it.
Usually John Cook’s blog posts are extremely high quality, so I’ll give him a pass just this once.
Yeah… I was really interested in thinking about how to code a solution and then the post ended.
It’s not that deep. Same algorithm as for palindromes, but with different logical conditions on “equality” / continuation
Perhaps https://youtu.be/qTBAW-Eh0tM at cost of breaking symmetry