User profile: leorio

User info
User name:leorio
Number of posts:6
Latest posts:

Strictly Increasing Sequence of Integers
Hey, guys. This is a problem on CodeFights that I'm trying to solve. Given a sequence of integers as...

Confusion involving a while loop
So I'm having trouble grasping what the while loop is doing in this function. The output is supposed...

Question regarding an if statement inside a for loop
Why does this print 6 times instead of 3? I can't wrap my head around the logic behind this. for(...

Catapult Problem
Somehow I missed commenting it out. It works now - thank you!

Catapult Problem
I fixed the first error, thanks. For the second error, if I remove the second declaration, it return...

This user does not accept Private Messages

User: leorio

  • Public profile