Insert and delete item in a BST
#include <stdio.h> #include <stdlib.h> struct tree { int data ; struct tree * left ; struct tree * right ; }; int arr [ 9 ], i = 0 ; struct tree * Createnode ( int data ) { struct tree * nd = ( struct tree * ) malloc ( sizeof ( struct tree )); nd -> left = NULL ; nd -> right = NULL ; nd -> data = data ; return nd ; } void inOrderTraversal ( struct tree * root ) { if ( root != NULL ) { inOrderTraversal ( root -> left ); ...