I wrote a solution for this problem: https://leetcode.com/problems/coloring-a-border/
Here is my working solution:
func helper(grid [][]int, r int, c i