HackerRank icon indicating copy to clipboard operation
HackerRank copied to clipboard

Update Solution.cpp

Open xgerasimos opened this issue 1 year ago • 0 comments

I set the initial value of the maximum variable to the minimum integer value. This way, the if condition inside the loop becomes unnecessary in each iteration.

xgerasimos avatar Feb 22 '24 11:02 xgerasimos