0
[Solved]I need help with a task
The description and the attempt are provided by the link https://code.sololearn.com/cbe4caoJ63rf/# The method of blending doesn't work properly. Other Languages are welcome as well. I need a concept. Thank you!
2 odpowiedzi
+ 1
each letter of the string has a position i. If this number is in line a and column b then 9*a+b =i
0
Alexander, iterating trough the string we have just an index i. We can make guessing what place index "i" should get. But describing +2 variables behavior makes the code too complicated when we need to simplify the implementation.
Anyway, thank you very much for your participation. I already found the solution just by checking all the conditions thoroughly.