← Walmart questions

Find anagrams of a string in a matrix

Filed under Walmart

Given a 2D matrix of characters and a target string, find all occurrences of substrings in the matrix that are anagrams of the target string. Anagrams can be formed by characters in adjacent cells…

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 Walmart questions

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