O(n^2) could also be an answer.