Word Search in Grid (Count Occurrences)
Medium
Matrix
Count how many times a word can be traced in a letter grid by moving in any one of the 8 directions in a straight line.
Constraints
1 <= R, C <= 50 1 <= len(word) <= 20
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.