An image is an m x n grid of pixel values. Starting from pixel (sr, sc), recolor it and every pixel connected to it through up, down, left and right moves that has the same original color, using the new color. Return the modified image.
An image is an m x n grid of pixel values. Starting from pixel (sr, sc), recolor it and every pixel connected to it through up, down, left and right moves that has the same original color, using the new color. Return the modified image.