day 18: improve tree structure explanation

This commit is contained in:
2022-01-14 11:49:23 +01:00
parent 77ef1fa003
commit 46fd8a30bc

View File

@@ -24,15 +24,16 @@
* *
* Example, [1,[4,2]] is represented as : * Example, [1,[4,2]] is represented as :
* *
* ------> SN root <-------------- Depth: 0 * +-------> SN root <---------------+ Depth: 0
* | / \ | * | / \ |
* LL| / \ | * |LL / \ |
* | / \ |LL * | / \ |LL
* --> 1 <--- SN node | Depth: 1 * +---> 1 <--+ SN node | Depth: 1
* | / \ | * | / \ |
* | / \ | * |LL / \ |
* LL---> 4 <-------> 2 <-- Depth: 2 * | / \ |
* LL * +--> 4 <-------> 2 <---+ Depth: 2
* LL
*/ */
static pool_t *pool_nodes; static pool_t *pool_nodes;