Skip to main content
Admissions guidance, study banks, and career tools — get started on Shalyam

Word Search

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.

Rewards · v2.1

Get Exclusive Insights with Every Issue

Join Shalyam Newsletter

Stay ahead in education, research, and innovation—straight to your inbox.