版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zem_nezer/article/details/85063566
Like the previous one, first store current number to the map, then use dfs to do the filling. One thing need to keep in mind is that if we use 2d array/vector to store, remember we need to let 2rd dim represent the number, not the index.