← Amazon questions

Matrix Chain Multiplication

Filed under Amazon · Also reported at Acko, ETech, Microsoft, Myntra

Given a sequence of matrices, find the most efficient way to multiply them by determining the minimum number of scalar multiplications needed.

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.