class BinTree {
constructor(left, element, right) {
this.left = left;
this.element = element;
this.right = right;
this.isEmpty = false;
}
static empty() {
var result = new BinTree(null,0,null);
result.isEmpty = true;
return result;
}
add(el){
}
size(){
return 0;
}
contains(el){
return false;
}
toArray(result){
}
}
module.exports = {BinTree}