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

actually the trie + dynamic programming solution is also O(n * longest dictionary word) = O(n) ...


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

Search: