hoare partition
balanced full binary tree is different from full binary tree