Y
Hacker News
new
|
ask
|
show
|
jobs
by
rwalker
5731 days ago
This was intentional - we had to tie break the longest palindrome and we didn't want a quick diff to be able to see what we changed.
2 comments
Cushman
5731 days ago
Never mind that finding the actual text, removing the spaces and caps, and running diff would probably take longer than coding and executing a brute force algorithm :P
link
Natsu
5731 days ago
Why not ask for the rightmost palindrome, then? Just to make it a tiny bit more complex (not that it's very hard to iterate backwards)?
link