Learnacy Lab

Binary Search Tree · Computer Science

Values fall left if smaller and right if larger, so a search costs only the depth of the path — unless a sorted feed grows a stick.