Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 552 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 552 Bytes

laicode

Solutions to LaiCode problems at <>LAICODE

Most solutions are written in python 2. Some questions in LaiCode don't accept python implementations, in which cases I provide solutions in java.

tree: Binary Tree Display and Construction

tree module provides TreeNode class, including methods to traverse a tree. tree module also provides function construct_tree() which constructs a tree from a list representation in "level order" as shown here.