Try to become less bad at algorithmics.