Check if There is a Path With Equal Number of 0's And 1's(LeetCode 2510):

Problem