Рет қаралды 54,365
This video explains a very important interview question based on depth first search,i.e., recursion and backtracking. The problem name is flood fill. This is a very good problem to learn and practice DFS and recursion. I have explained the problem with intuition for solving. I have shown the solution with proper example and have also explained the CODE at the end of the video. CODE LINK is present below as usual. If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)
CODE LINK: gist.github.co...