Array Required, but java.lang.String found

You can’t use array subscripts: [], to index into a String, and both hidden and original are Strings. You can instead use original.charAt(i) to read a character at an index. As for writing a character at an index: java Strings are immutable, so you can’t change individual characters. Instead make hidden a StringBuilder, or simply … Read more

Algorithm for solving Sudoku

30 I want to write a code in python to solve a sudoku puzzle. Do you guys have any idea about a good algorithm for this purpose. I read somewhere in net about a algorithm which solves it by filling the whole box with all possible numbers, then inserts known values into the corresponding boxes.From … Read more