← Amazon questions

Coin Change, Substring Index, and Overlapping Rectangles

Filed under Amazon

Solve three classic sub-problems: (1) Find the minimum number of coins to make a given target amount with infinite supply (Coin Change). (2) Find the first occurrence index of a substring in a string…

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.