• + 3 comments

    This is not O(N) solution.