Hi all,
I need to create a binary tree, whose data are stored in a list:
I need to create a binary tree, whose data are stored in a list:
[[parent1, one_of_children_from_1],[parent2, one_of_children_from_2],[parent1, one_of_children_from_1],...] #they are in random orderCan you give me any hint, what should I use in order to create such a binary tree?