Write a function, which receives two arguments: a pointer to the Binary Search Tree and a pointer to the empty Linked Li
Posted: Thu Jul 14, 2022 2:06 pm
Write a function, which receives two arguments: a pointer to theBinary Search Tree and a pointer to the empty Linked List. Functionis reading the binary search tree and copying its values to thelinked list so, that at the end linked list will contain all valuesfrom the tree, but sorted in opposite order (descending values).Function has to work with O(N) efficiency.