> O((n +1)*sqrt(n)) = O(n*sqrt(n))

I still think people should do their homework (even though it's
August) by themselves. Or learn how to use better algorithms.