A binary search tree was given numbers to add in a specific order so that each number is in the correct position based on being less than or greater than the parent node. The numbers 10, 5, 15, 6, 1, 8, 12, 18, 17 were to be added to an empty binary search tree.
A binary search tree was given numbers to add in a specific order so that each number is in the correct position based on being less than or greater than the parent node. The numbers 10, 5, 15, 6, 1, 8, 12, 18, 17 were to be added to an empty binary search tree.
A binary search tree was given numbers to add in a specific order so that each number is in the correct position based on being less than or greater than the parent node. The numbers 10, 5, 15, 6, 1, 8, 12, 18, 17 were to be added to an empty binary search tree.