Why next two else if condition w[k].length == h_depth+1 or v_depth+1??And why First two condition checking where a[i-1][j] == ‘+’ and a[i][j-1] == ‘+’??
Why next two else if condition w[k].length == h_depth+1 or v_depth+1??And why First two condition checking where a[i-1][j] == ‘+’ and a[i][j-1] == ‘+’??