增加红黑树

This commit is contained in:
Sanchime 2022-08-14 17:23:47 +08:00
parent c568d79eef
commit 78a081e8db
1 changed files with 2 additions and 2 deletions

View File

@ -24,5 +24,5 @@ module RedBlack =
elif y < x then balance (color, a, y, loop b) elif y < x then balance (color, a, y, loop b)
else s else s
loop s let (Node (_, a, b, c)) = loop s in Node (Black, a, b, c)