optimal binary search tree(obst)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • navdeep89
    New Member
    • Apr 2010
    • 1

    optimal binary search tree(obst)

    hi,
    I am trying the obst in cpp and m held up in deciding how to calculate the min values for each key (i.e the corres. root table value) and what data structure to use.


    pls someone help me !!!!!!!
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2
    Originally posted by navdeep89
    hi,
    I am trying the obst in cpp and m held up in deciding how to calculate the min values for each key (i.e the corres. root table value) and what data structure to use.


    pls someone help me !!!!!!!
    How are you going to be using it: Is the binary tree set up once, or do you continue adding elements? Deleting elements?

    Just to double check, where are you getting the frequencies for these elements, and do they add up to 1, or some other arbitrary number?

    Comment

    Working...