← Sprinklr questions
CodingMedium-Hard

Printing brackets in Matrix Chain Multiplication

Filed under Sprinklr

The question

Find the optimal way to parenthesize matrix multiplication to minimize scalar multiplications and print the bracket placement.

No write-up yet. Related questions below have one.

Related Sprinklr questions

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