Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 661. Image Smoother
For each pixel in an m x n grayscale image, compute the floor of the average of the pixel and its up-to-8 neighbors (using only existing neighbors at edges) and return the resulting smoothed image. This is a 3x3 sliding-window / convolution-style averaging problem on a small integer grid.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.