| 47 | } |
| 48 | |
| 49 | int main() |
| 50 | { |
| 51 | int k = 1; |
| 52 | struct node *root = NULL; |
| 53 | root = insert(root, 5); |
| 54 | insert(root, 2); |
| 55 | insert(root, 1); |
| 56 | insert(root, 9); |
| 57 | insert(root, 5); |
| 58 | insert(root, 8); |
| 59 | cout << "The " << k << "st smallest element in Binary search tree is " << findKthMin(root, k); |
| 60 | } |
nothing calls this directly
no test coverage detected