Skip to content

Update Solution.cpp#309

Open
xgerasimos wants to merge 1 commit intoRyanFehr:masterfrom
xgerasimos:patch-2
Open

Update Solution.cpp#309
xgerasimos wants to merge 1 commit intoRyanFehr:masterfrom
xgerasimos:patch-2

Conversation

@xgerasimos
Copy link

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant