← Morgan Stanley questions

Find starting index of a string in an alphabet matrix

Filed under Morgan Stanley

Given an N x M matrix of alphabetic characters and a target word, find the starting row and column index of the word aligned horizontally or vertically in a case-insensitive manner.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Morgan Stanley questions

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