∣ In C++ Write a function, which receives two arguments: a pointer to the Binary Search Tree and a pointer to the empty
Posted: Thu Jul 14, 2022 2:06 pm
∣ 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.