A complete Binary Search Tree with level order insert in Java
问题 We got an assignment where we need to code: A Binary Search Tree The Tree has to be complete , not perfect (which means all nodes which are not on the lowest level or second lowest level should have 2 children, while the nodes on the lowest level should be as far left as possible) We need to insert to the tree in level order So if I have an Array with elements {0, 1, 2, 3, 4, 5, 6, 7} the root should be 4 , with 2, 1, 3, 0 on the left side, and 6, 5, 7 on the right side. The level order