@pranavpatel.ca/algo-kombin
Version:
KombiN is a library for bijectively mapping all ordered pairs from two finite sets into a single linear index. It orders pairs by ascending weight (sum of indices) using a three-region zig-zag algorithm, enabling O(1) bidirectional lookups between pairs a
| Filename | Content Type | Size | |
|---|---|---|---|
| ../ | |||
| 2.11 kB | |||
| 7.73 kB | |||
| 317 B | |||
| 620 B | |||