day 18: improve tree structure explanation
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user