Click to See Complete Forum and Search --> : binary search tree


luis rosero
April 26th, 1999, 11:36 AM
please help me with the following, i need to retrieve a set of numbers from a file (doesn't matter how many) and make a binary search tree with them, but i also need to show how many times a number is repeated so if 12 shows up twice, the ouput should be 12(2) if 5 show once, 5(1), etc. if a parent node has no children, then the ouput should be null, i would appreciate any help you give me