Available question text
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.
Related questions
Continue with questions that share topics or the same question type.
- Convolution coding for 2d image
Coding
- Debug and Tune an MNIST Image Classifier
Coding
- Design Image Augmentation Function
Coding
- Find duplicate files and apply image operations
Coding · Arrays & Strings · Grids & Matrices
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 661. Image Smoother
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source