• + 1 comment

    Is there any O(n) solution to solve this. In c++.