Recursive function call's changes to a slice's contents do not reflect in caller

后端 未结 0 882
忘了有多久
忘了有多久 2020-12-25 14:56

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         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题