Ad
  • Custom User Avatar

    At first I usually do it the normal/intended way. Then, if the task looks interesting, I try to find other (unusual, recursive, golfed, hardcoded, etc) solutions. I simply use it as an exercise to improve my knowledge and thinking, so no special rules or goals.

    Cheers

  • Custom User Avatar

    A recursive solution, golfed :-)