← Microsoft questions

Next Permutation and Word Search

Filed under Microsoft

Implement the next lexicographically greater permutation of numbers, and given an m x n grid of characters and a string word, return true if the word exists in the grid.

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

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