Red black tree sort/Phix: Difference between revisions
m
Fixed syntax highlighting.
(now fixed and properly tested, and with online link) |
m (Fixed syntax highlighting.) |
||
Line 1:
{{libheader|Phix/online}}
With extra validation. You can run this online [http://phix.x10.mx/p2js/rbtree.htm here]. The output will of course be different every time you open (or F5 reload) that, and not quite match that below.
<!--<
<span style="color: #000080;font-style:italic;">--
-- demo\rosetta\Red_Black_Tree.exw
Line 295:
<span style="color: #008080;">end</span> <span style="color: #008080;">for</span>
<span style="color: #000000;">visualise_tree</span><span style="color: #0000FF;">()</span>
<!--</
{{out}}
<pre>
|