❔ Getting multiple output of my count in this code:https://pastebin.com/c7RsL47e
When i try to solve my puzzle with size 2 and i manage to solve it in 3 steps it prints out like this in console : "It took 3 steps to solve the puzzle
It took 0 steps to solve the puzzle
It took 0 steps to solve the puzzle"
why?
It took 0 steps to solve the puzzle
It took 0 steps to solve the puzzle"
why?