∣ In C++ Write a function, which receives two arguments: a pointer to the Binary Search Tree and a pointer to the empty
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
∣ In C++ Write a function, which receives two arguments: a pointer to the Binary Search Tree and a pointer to the empty
∣ In C++ Write a function, which receives two arguments: a pointer to the Binary Search Tree and a pointer to the empty Linked List. Function is reading the binary search tree and copying its values to the linked list so, that at the end linked list will contain all values from the tree, but sorted in opposite order (descending values). (write only a function, not a whole program!). Function has to work with O(N) efficiency.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!