Search⌘ K

DIY: Word Search I

Explore how to implement a function that finds specific strings in a 2D grid of characters by checking adjacent letters. This lesson helps you understand grid traversal and adjacency rules necessary to solve word search problems commonly encountered in coding interviews.

Problem statement

For the first challenge, you are given a n×nn \times n ...