The number of input array-elements should be 1,000, but instead 10,000 array-elements are given in Test Case 2.
Even if we take first 1,000 array-elements out of 10,000 provided, the ‘solution obtained on local-computer’ != ‘soultion provided on codingblocks’
OR if we process all 10,000 array-elements, still the ‘solution obtained on local-computer’ != ‘solution provided on codingblocks’