Question: The key step is given as a helper function named split. 1 . Run the script, to be sure it works! 2 . Move the
The key step is given as a helper function named split.
Run the script, to be sure it works!
Move the helper function into the quick sort function.
Simplify the parameter list for split, making use of your
understanding of scope for internal functions.
Hint: what parameters dont change in split?
Leave a short comment in the split function explaining
your reasoning.
Make sure the script still works!
Youll hand in the code for this activity. See Slide
CMPT Lab : Stackframes, Scope, and Internal Functions
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
