@sudhanshu8917 Consider the input: 5 5 5 5 5 5
Expected Output: false
how can i correct this test case.
@sudhanshu8917 Use <= in line 16 and >= in line 22 and then check.