+ 2
---[CHALLENGE]--- Crossword Puzzle GENERATOR
To check properly the solutions given to the challenge of our friend Swapnil Srivastava in: "https://www.sololearn.com/Discuss/959489/challenge-crossword-solver" CHALLENGE: Now, given a list with the words and two INT (height and width), generate the Crossword Puzzle Matrix. Keep in mind that if the integers passed as argument as both smaller that the longest word and it does not fit in a diagonal line either, en error should be output since the puzzle cannot be generated. VALIDATION: Once a solution is found: - Check that the solver is able to resolve the puzzle. - Try it with different sizes - Try it with different amount of words Then try to sell your solution for the typical newspaper's games XD Good luck!
1 Odpowiedź
+ 6
That would be DIFFICULT.