Word Search
Medium
Recursion & Backtracking
Given an R x C board of letters and a word, print true if the word can be built from sequentially adjacent (up, down, left, right) cells, using each cell at most once, otherwise false.
Constraints
1 <= R, C <= 6 1 <= len(word) <= 15 Uppercase letters
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.