Failing one test case

can you please check what is wrong with my code

@chitranshanmol07 if you are taking arrays of constant size always take it atleast 5 more than given constraints,in this case too take arrays of size more than 1000 your code will work.