mirror of
https://github.com/mfocko/blog.git
synced 2024-11-10 08:19:07 +01:00
40 lines
1.4 KiB
Text
40 lines
1.4 KiB
Text
|
digraph {
|
||
|
"Node(value=3, rank=2)" [label="3"]; #done
|
||
|
"Node(value=1, rank=1)" [label="1", color="red"]; #done
|
||
|
"Node(value=4, rank=0)" [label="4", color="red"]; #done
|
||
|
"Node(value=7, rank=0)" [label="7", color="red"]; #done
|
||
|
"Node(value=0, rank=0)" [label="0"]; #done
|
||
|
"Node(value=2, rank=0)" [label="2"]; #done
|
||
|
"Node(value=5, rank=1)" [label="5"]; #done
|
||
|
|
||
|
|
||
|
"nil2" [label="", color=none]
|
||
|
"nil3" [label="", color=none]
|
||
|
"nil4" [label="", color=none]
|
||
|
"nil5" [label="", color=none]
|
||
|
"nil6" [label="", color=none]
|
||
|
"nil7" [label="", color=none]
|
||
|
"nil8" [label="", color=none]
|
||
|
"nil9" [label="", color=none]
|
||
|
"nil10" [label="", color=none]
|
||
|
"8" [label="8", color="red"]
|
||
|
|
||
|
"Node(value=3, rank=2)" -> "Node(value=1, rank=1)" #done
|
||
|
"Node(value=1, rank=1)" -> "Node(value=0, rank=0)" #done
|
||
|
"Node(value=1, rank=1)" -> "Node(value=2, rank=0)" #done
|
||
|
"Node(value=3, rank=2)" -> "Node(value=5, rank=1)" #done
|
||
|
"Node(value=5, rank=1)" -> "Node(value=4, rank=0)" #done
|
||
|
"Node(value=5, rank=1)" -> "Node(value=7, rank=0)" [color="red"] #done
|
||
|
|
||
|
"Node(value=0, rank=0)" -> "nil2"
|
||
|
"Node(value=0, rank=0)" -> "nil3"
|
||
|
"Node(value=2, rank=0)" -> "nil4"
|
||
|
"Node(value=2, rank=0)" -> "nil5"
|
||
|
"Node(value=4, rank=0)" -> "nil6"
|
||
|
"Node(value=4, rank=0)" -> "nil7"
|
||
|
"Node(value=7, rank=0)" -> "nil8"
|
||
|
"Node(value=7, rank=0)" -> "8" [color="red"]
|
||
|
|
||
|
"8" -> "nil9"
|
||
|
"8" -> "nil10"
|
||
|
}
|