bbtree
bbtree copied to clipboard
Self-balancing Binary Search Trees in JavaScript
Thanks for this project. Good stuff. I noticed one small defect, which has a quick fix: There is a minor typo in llrb.js, in the remove(h, key, compare) method, line...
So, which one was the fastest algorithm? This is nowhere mentioned and the test script doesn't indicate one.
Hi, this is a neat implementation. But your find() function does not consider empty trees, so searching in an empty tree causes an exception to be thrown (which is usually...