Python Multiple Choice Questions
What is the base case in the Merge Sort algorithm when it is solved recursively?
C. A list of length one
D. An empty list
Explanation: Merge Sort algorithm implements the recursive algorithm and when the recursive function receives a list of length 1 which is the base case, the list is returned.
© 2022-2023 Python Circle