---
title: "Discussion on \"LeetCode: Image Smoother\" | Hashnode"
description: "Discussion on \"LeetCode: Image Smoother\". Problem:\nhttps://leetcode.com/problems/image-smoother/\nCode:\nclass Solution:\n    def imageSmoother(self, img: List[List[int]]) -> List[List[int]]:\n        rows=len(img)\n        cols=len(img[0])\n        new_matrix=[[0 for _ in range(cols)] for _ in ra..."
url: "https://hashnode.com/posts/leetcode-image-smoother/6931c82997c46733c80d4824"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LeetCode: Image Smoother](https://is-power-of-two.hashnode.dev/leetcode-image-smoother?utm_source=hashnode&utm_medium=feed)

Problem: https://leetcode.com/problems/image-smoother/ Code: class Solution: def imageSmoother(self, img: List\[List\[int\]\]) -> List\[List\[int\]\]: rows=len(img) cols=len(img\[0\]) new\_matrix=\[\[0 for \_ in range(cols)\] for \_ in ra...

Dec 4, 2025 · 2 min read · is-power-of-two.hashnode.dev  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#array](https://hashnode.com/tag/array)
-   [#brute-force](https://hashnode.com/tag/brute-force)

## Written by

[Shahwar Alam Naqvi](https://hashnode.com/@shahwar01)

@shahwar01

  
[View profile](https://hashnode.com/@shahwar01)

Coder

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
