Ad
  • Custom User Avatar

    Nah. This is the "clever" solution that still uses two iterators and concat.

    This is at least a 6 kyu problem. You should try some 7 kyu problems. Honesetly, 5 kyu is fine given the difficulty of actual 6/7 kyu problems.

  • Custom User Avatar

    Or just > 1.

    Putting increments or decrements before or after don't really matter in these instances since you are comparing to a fixed value. You just have to do some maths to figure out what that value is.