@Anshuman Singh - I completed the code in 28 mins o(n) time complexity. I got 386 out of 450. Is there any other criteria you take into account for the marking.
Its a combination of time, number of submission and the number of hints accessed. 386/450 is a really good score on this problem.
then you might have submitted your code raptadely and that’s why you got penalty score