ESNextbin Sketch
✓ Published0🌍 Public
OOscardR
Last edited Oct 31, 2017
Created on May 29, 2017
A binary tree visualization demonstrates how random numbers are inserted into a binary search tree, reporting each insert’s step count and the sorted list after all inserts. It also searches for a random value, showing whether it is found and the steps taken. The example uses plain JavaScript with ES6 classes (`BinaryTree`, `App`) and writes output via `document.write`. No external charting library is used; the rendering is simple HTML list and paragraph elements.
AI-generated description