Longest Repeated Subsequence problem | Hacker News Reader