Interactive Binary Tree — click to select nodes (A)

Click nodes to toggle selection. Selected set = A.
good elements and the auxiliary regions
bad elements
undecided elements
Blink duration = 1.5s.

State

Selected A: ∅

Good

—

Bad

—

Undecided

—

Two more undecided elements are formed when one bad element is formed. The number of good elements and undecided elements is never less than the number of bad elements. The final shaded regions are disjoint and are in 1-1 correspondence with the ancestral good nodes.
Code generated with aid of ChatGPT.

Back to Inhyeok's Research page.