CROSSWORD || Code is not executing

Link: https://ide.codingblocks.com/s/106009

Where am I going wrong? Is there any different approach to this problem?

where is your base case ? approac is ok… add base case and try to debug again…

Modified Code: https://ide.codingblocks.com/s/106308

Hey there, I have modified the code, but it is not correct for the test cases…please have a look into it…
I have a few doubts.

What could be the maximum length of a word in the dictionary?

maximum length will be 5