Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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


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)?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: