> For the complete documentation index, see [llms.txt](https://851958789.gitbook.io/notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://851958789.gitbook.io/notes/0661_image_smoother/slt.md).

# Solution 1 traverse + simulation

* t-complexity: $O(N)$
* s-complexity: $O(1)$

ints in cell has range of \[0, 255], hence only 8-bit is used, we can use the middle 8-bit to store the new state
