Skip to content

Commit 1f31074

Browse files
committed
add a code sample
1 parent fc7da08 commit 1f31074

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## bbtree
12

2-
A very simple and efficient JavaScript implementation of [Andersson tree](http://user.it.uu.se/~arnea/ps/simp.pdf),
3+
A very simple JavaScript implementation of [Andersson tree](http://user.it.uu.se/~arnea/ps/simp.pdf),
34
a self-balancing binary search tree data structure.
5+
6+
```js
7+
var tree = bbtree();
8+
9+
tree.insert(1);
10+
tree.insert(5);
11+
```

0 commit comments

Comments
 (0)