Celery stalks that are soaked in water for several hours bec…

Celery stalks that are soaked in water for several hours become stiff. We can conclude that the water is [tonicity1] to the solution in the celery cells. An animal cell placed in a [tonicity2] solution will shrivel, but when placed in a [tonicity3] solution, the size of the animal cell will not change.   Use hypotonic, hypertonic or isotonic to complete the answers.

Given a Binary Search Tree, create a function (using C++ or…

Given a Binary Search Tree, create a function (using C++ or pseudocode) that takes in the root of the BST and returns a sorted array of all the nodes in linear time. You can assume the tree is pre-built and no need to create your own insertion function. The TreeNode class has been defined for you: class TreeNode { public: int val; TreeNode *left; TreeNode *right; };