In this article, we have covered the Backtracking Algorithm for Crossword and compared with the Brute Force approach. We have presented the Time and Space Complexity for various cases.
Table of contents:
IntroductionNaive ApproachBacktrackingTime and Space ComplexityConclusionIntroduction
A crossword is a word puzzle that usually consists of a square or rectangular grid of white and black-shaded squares. By solving clues that lead to the solutions, the goal is to fill the white squares wi...
Published on June 05, 2022 14:38