Skip to content

Instantly share code, notes, and snippets.

View shakil1819's full-sized avatar
🏑
Working Remotely

Shakil Mosharrof shakil1819

🏑
Working Remotely
View GitHub Profile
@shakil1819
shakil1819 / 10-description.txt
Created December 25, 2021 06:02 — forked from johnchen902/10-description.txt
$O(n\log n)$ Matrix Chain Multiplication
Description
---
Just matrix chain multiplication.
Input format
---
There may be multiple test cases.
Each test case consists of two lines.
On the first line is an integer, $n$, the number of matrices.
On the second line are $n + 1$ integers, the dimension of the matrices.