Tag Archives for binary search tree

Binary Search Tree in CPP

#include<iostream.h> #include<stdio.h> struct node {     int info;     struct node *lchild,*rchild; }*temp,*ptr,*root,*t; class tree {     node *r;     public:void create();     int insert(node *);     void in(node *);     void pre(node *);     void post(node *); }item; main() … Continue reading

15. April 2010 by Jishnu
Categories: C++ | Tags: | Leave a comment