3 ms·I'm sure Apple has a JS lib with a binary tree in it.by lupire 5y agoI'm sure Apple has a JS lib with a binary tree in it.