Matrix Problems
Everything on SkillVeris tagged Matrix Problems — collected across the glossary, study notes, blog, and cheat sheets.
2 resources across 1 library
Interview Questions(2)
Word Search Problem: How Would You Solve It?
Word search is solved with backtracking DFS: from every cell matching the word's first letter, recursively explore the four orthogonal neighbors while the next…
What is the Maximal Square Problem?
The maximal square problem finds the largest square of all 1s inside a binary matrix, solved in O(rows * cols) time by letting dp[i][j] represent the side leng…