โ† KLA questions
CodingReported in a candidate post, Jul 2025

Find all occurrences of a word in a character grid in any direction

Filed under KLA

The question

Given a 2D character array and a word, report all occurrences reading horizontally, vertically or along diagonals, with the start position and direction.

No write-up yet. Related questions below have one.

Related KLA questions

Collected from public candidate posts and coding forums. Updated Nov 2026.