• + 1 comment

    It's funny, because applying sorting makes solution already worse than O(nlogn) :D It was not that good idea after all