3 ms·
I had a go at this with Python. It has tests, a fast implementation (O(n/2)) and uses memoization to optimize. https://github.com/michaelmcmillan/palindrome ht
by michaelmcmillan 10y ago
I had a go at this with Python. It has tests, a fast implementation (O(n/2)) and uses memoization to optimize.
https://github.com/michaelmcmillan/palindrome https://github.com/michaelmcmillan/palindrome