Lasso Implementation of Modified Preorder Tree Transversal