We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Search
- Short Palindrome
- Discussions
Short Palindrome
Short Palindrome
Sort by
recency
|
63 Discussions
|
Please Login in order to post a comment
standard dynamic programming algo, O(n), but uses a lot of memory (couple hundred MBs). pass all test
C++ (more at https://github.com/IhorVodko/Hackerrank_solutions , feel free to give a star :) )
my solution