• + 0 comments

    I used the same method but instead of pointer I used array. I am getting 7 testcases failed but when i used pointer all testcases passed. Can anyone explain me what is the mistake or logic behind this.