hi guys,

this is my first post here.

may be my question sound very silly and stupid to you....apology for that.

can anyone plz provide me the above algorithm :

1. c++ algorithm for finding the i th smallest element from a binary heap .

2. c++ algorithm to find the number of internal nodes of a binary search tree.

3. C++ algorithm to check whether a binary search tree is balanced or not.

its important for me to solve these problems.

if anyone has the solutions plz tell me.