public State ExecuteForTopography(Topography topography) { var initialState = new State( topography, ImmutableList.Create <(int, int)>(), 0, 0 ); return(RunCommands(initialState)); }
public static void DoTask2(Topography topography) { var moveCommandsToCheck = new (int dx, int dy)[]
public State ( Topography topography, IImmutableList <(int x, int y)> moveHistory,