• + 9 comments

    i think O(n^2) is best solution for this problem but m still getting TLE. Any suggestion?