โ† Adobe questions

Find Word Indexes Within Limit N

Filed under Adobe

Given two words and a limit N, determine if both words appear within any window of N words in a given text string. If they do, output their indices. The words can appear in any order.

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

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