Runtime: 72 ms, faster than 95.22% of JavaScript online submissions for Univalued Binary Tree. Memory Usage: 39.3 MB, less than 24.84% of JavaScript online submissions for Univalued Binary Tree.
Quite old (from 2006) code to simulate a simple binary tree in JavaScript. Uses no extra library, just plain JavaScript and W3C DOM. The code was originally written before I knew what was "version ...