Test case failure

one of the test cases is failing… pls advice

hello @vector.9974 try now :

now, it runs… although i dont understand how making the max integer as int min resolved the test case failure

hey it is simple because n is given as the constrain in which there can be negative numbers as well .
so it is the good practice to use int_min while comparing .

ok sir thank you…

@vector.9974 is your doubt is cleared please mark this doubt as resoloved and do give the star ratings as well .
Happy Learning !!