node* getSmallest(node* n) { if (n == NULL) return NULL; else if (n -> left == NULL) return n; else return getSmallest(n -> left); }
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment