I need to get an associated array of terms in drupal that has node associated with it. However, I can t seem to figure it out the appropriate algorithm.
What I want is something like taxonomy_get_tree(). But, only term that has associated node with it.