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.

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.

Google is your friend, as well as Daniweb's and a dozen other programming forums' search engines. These are very common problems and come up all the time, so odds are that if you enter "binary search tree", "balanced binary search tree", "binary heap", etc., into Google, you'll get some links that will be exactly or at least close to what you are looking for, or at least enough to get you started. You can then make an attempt, and when you get stuck, which everyone does at first, come back here and ask a more detailed question and you'll get help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.