Tuesday 24 April 2012

13 th program B- TREE


ALGORITHM FOR BTREES:

Step 1: start
Step 2: create the class btree with its object t
Step 3: read the element of the tree to insert or delete
Step 4: to insert an element , call the member function insert() using its object
Step 5: to delete an element, call the member function delnode() using its object
Step 6: to search for an element call the member function showsearch() using its object
Step 7: stop.

---------------------------------------------------------------------------------------------------------------------------------------
                                                            FLOWCHARTS
--------------------------------------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------------------------------------
C++ IMPLEMENTATION
---------------------------------------------------------------------------------------------------------------------------------------

No comments:

Post a Comment