Ad
  • Default User Avatar

    When solving this problem, it was pretty much engraved in my mind that I had to start from the 2^0 digit and work my way up, so the first thing I did was to invert the array. I'm pleasantly surprised and impressed to find out that it's very well possible (and elegant) to start at the other end, without even knowing which digit it is, at that!