Skip to content

Instantly share code, notes, and snippets.

@johnchen902
johnchen902 / 10-description.txt
Last active December 25, 2021 06:02
$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.
@sardemff7
sardemff7 / server implementation.md
Last active July 5, 2019 08:57
Wayland tiny examples

About naming: in specification and code, I will use the z<name>_v<unstable-version> unstable naming convention, while I will just use <name> in explanations.

First, our protocol:

<?xml version="1.0" encoding="UTF-8"?>
<protocol name="rainbow">
    <copyright>
    </copyright>

    <interface name="zex_rainbow_v1" version="1">
@anshula
anshula / phoronix-cmd.md
Last active March 22, 2024 21:43
Phoronix Test Suite Cheat Sheet