4 ms·
That sounds like it would only touch each pixel once: the minimum amount of times.
by placeybordeaux 11y ago
That sounds like it would only touch each pixel once: the minimum amount of times.
- facetube 11y agoRight, that's why I'm confused. If n is the number of pixels, then 4 million operations would be linear-time as far as I can tell. Wonder if the author took n to be the width/height of the image.