Crossword Puzzle
1. You are given a 10*10 2-D array(arr) containing only '+' and '-' characters, which represents aInput Format
crossword puzzle.
2. You are also given n number of words which need to be filled into the crossword.
3. Cells containing '-' are to be filled with the given words.
Note -> Check out the question video and write the recursive code as it is intended without
changing signature. The judge can't force you but intends you to teach a concept.
10 * 10 grid of characters containing only '+' and '-'Output Format
A number n
str1
str2
...n strings
Check the sample output and question videoQuestion Video
1 <= n <= 10Sample Input
+-++++++++Sample Output
+-++++++++
+-++++++++
+-----++++
+-+++-++++
+-+++-++++
+++++-++++
++------++
+++++-++++
+++++-++++
4
LONDON
DELHI
ICELAND
ANKARA
+L++++++++
+O++++++++
+N++++++++
+DELHI++++
+O+++C++++
+N+++E++++
+++++L++++
++ANKARA++
+++++N++++
+++++D++++
-
Related Topics
Video Solution
Code Solution
Run