public List <int>[] GetConsecuitiveHorizontalElements() { var hintsPerRow = new List <int> [CellData.GetLength(0)]; for (var row = 0; row < CellData.GetLength(0); row++) { var rowElements = CellData.GetRowElements(row); var counts = ConsequitiveElementsFinder.Find(rowElements); hintsPerRow[row] = counts; } return(hintsPerRow); }
public List <int>[] GetConsecuitiveVerticalElements() { var dimensionLength = CellData.GetLength(1); var hintsPerCol = new List <int> [dimensionLength]; for (var col = 0; col < dimensionLength; col++) { var columnElements = CellData.GetColElements(col); var counts = ConsequitiveElementsFinder.Find(columnElements); hintsPerCol[col] = counts; } return(hintsPerCol); }