initialize a binary tree within a menui have been asked to provide a menu in which we have to initialize upon pressing 1 in a binary searc...
problem in destroying all elements of a binary search treewhy is it giving error ? [Error] undefined reference to `tree<int>::destroy(node<int>*)' [Error]...
how to delete node from somewhere middle in doubly linked list head->previous->next=head->next; head->next->previous=head->previous; delete head; why doesn't thi...
how to delete node from somewhere middle in doubly linked listit works fine to delete from start or end. but whenever I try to delete a value from middle , it giv...
how to create class object in If-condition and use function in same code? by any way?