• + 2 comments

    Is there any solution but O(n^2) ?