Solve using a While loop.
Do it better.
Do it using use dynamic programming (determine which substrings are palindromes).
redo
redo
learn bucket sort
redo
Do it with Tries.
Do it better.
redo
redo
redo
The task was solved with a HashMap and an X-doubly linked list. The doubly linked list should be implemented as a class that can be used later.
As an alternative, a solution with OrderedDict should be implemented.
redo
redo
redo using DP
redo
redo
Check sample solution.
Check sample solution.
redo
redo
redo
Refactor it. The solution is supposed to be faster and consume less memory.
redo with union find
redo