Ad
  • Default User Avatar

    My solution uses the intended two-pass method; now that you've solved the kata you can take a look at it. Both algorithms are O(number of pixels).