• + 1 comment

    it is not able to pass all the test cases,as input constrain is 1000000; and we are getting segmentation error