Binary search tree
program: #include <stdio.h> #include <stdlib.h> struct node { int key; struct node *left, *right; }; struct node *newNode(int item) { struct node *temp = (struct node *)malloc(sizeof(struct node)); temp->key = item; temp->left = temp->right = NULL; return temp; } void inorder(struct node *root) { if (root != NULL) { inorder(root->left); printf("%d -> ", root->key); inorder(root->right); } } void preorder(struct node *root) { if (root != NULL) { printf("%d -> ", root->key); preorder(root->left); preorder(root-...