You are viewing a single comment's thread. Return to all comments →
Perfect solution.
Just a side subtle question - what is the advantage of pre-incrementing the variable rather than post incrementing ? i.e. ++lvl vs lvl++, in general ?
Seems like cookies are disabled on this browser, please enable them to open this website
Counting Valleys
You are viewing a single comment's thread. Return to all comments →
Perfect solution.
Just a side subtle question - what is the advantage of pre-incrementing the variable rather than post incrementing ? i.e. ++lvl vs lvl++, in general ?