A 10x10 Crossword grid is provided to you, along with a set of words (or names of places) which need to be filled into the grid. Cells are marked either + or -. Cells marked with a - are to be filled with the word list.
For example.
The following shows an example crossword from the input crossword grid and the list of words to fit,
words = [POLAND, INDIA, SPAIN, LHASA]
You will be given:
crossword: an array of strings of length representing the empty grid.
words: a string consisting of semicolon-delimited strings to fit into crossword
Write a function that outputs the result of the crossword puzzle.
A
10x10
Crossword grid is provided to you, along with a set of words (or names of places) which need to be filled into the grid. Cells are marked either+ or -
. Cells marked with a-
are to be filled with the word list.For example. The following shows an example crossword from the input crossword grid and the list of words to fit, words = [POLAND, INDIA, SPAIN, LHASA]
You will be given:
crossword
: an array of strings of length representing the empty grid.words
: a string consisting of semicolon-delimited strings to fit intocrossword
Write a function that outputs the result of the crossword puzzle.
e.g
e.g