Scientist, Designer, and Teacher. Assoc Prof of CompSci in visualization at Mississippi State University. Believes information wants to be seen. Loves Python. @dr_tj
// root of (sub)tree is empty, nothing will be found
if(root===null)
returnfalse;
// Check to see if value found
elseif(root.value===value)
returntrue;
// Value not found; check left or right subtree
elseif(value<root.value)
returnfind(root.left,value);
else
returnfind(root.right,value);
}
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.