Why the output is 5?
grid = [["#","#","#","#","#","#"],\n               ["#","T",".",".","#","#"],\n               ["#",".","#","B",".","#"],\n               ["#",".",".",".",".","#
grid = [["#","#","#","#","#","#"],\n               ["#","T",".",".","#","#"],\n               ["#",".","#","B",".","#"],\n               ["#",".",".",".",".","#"],\n               ["#",".",".",".","S","#"],\n               ["#","#","#","#","#","#"]]\nOutput: 5\n\nFor the above testcase, why the output is 5, instead of 3?\nThe player can go up to (2, 3) and then push the box Up, Left and Left to reach the target.\n\nWhat am I missing here?
[]