Google interview question

Text Editor Plus One Solve Sudoku