← Amazon questions

Smallest window in a string and k queues in a single array

Filed under Amazon

Part 1: Find the smallest window in a string s containing all characters of another string t. Part 2: Implement k queues efficiently using a single underlying array.

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

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