← Amazon questions

Edit Distance, Trapping Rain Water, and Sliding Window Max

Filed under Amazon

Solve three classic problems: 1) Edit Distance (DP), 2) Trapping Rain Water (Two Pointers/Stack), 3) Sliding Window Maximum (Deque).

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.