1 | 14 | 16 | 17 | ||||||||||||||||||||||
18 | |||||||||||||||||||||||||
2 | |||||||||||||||||||||||||
3 | |||||||||||||||||||||||||
4 | |||||||||||||||||||||||||
5 | |||||||||||||||||||||||||
6 | |||||||||||||||||||||||||
13 | 15 | ||||||||||||||||||||||||
7 | |||||||||||||||||||||||||
8/9 | |||||||||||||||||||||||||
10 | |||||||||||||||||||||||||
11 | |||||||||||||||||||||||||
12 | |||||||||||||||||||||||||
1. A sort algorithm that looks at the elements of the array to be sorted to determine their relative order.
2. The central component of the merge sort algorithm is the function that combines two sorted subarrays. Its primary goal is to merge these arrays.
3. A sorting algorithm that preserves the relative order of equal elements in the sorted output.
4. An informal high-level description of the operating principle of a computer program is a non-specific outline that summarizes how the program functions.
5. A method for solving a problem by dividing it into progressively smaller subproblems.
6. The scenario in which an algorithm takes the least amount of time to solve a given problem.
7. The amount of time an algorithm takes to solve a problem as a function of the size of the input.
8. A sort algorithm that arranges the elements of an array without needing any extra memory for sorting.
9. A sorting algorithm that does not require extra space for temporary arrays or data structures.
10. The number of times two elements are compared during the sorting process.
11. A variant of merge sort that does not require extra space for temporary arrays or data structures.
12. The scenario in which an algorithm takes the most amount of time to solve a given problem.
13. A mathematical notation used to describe the upper bound of the time complexity of an algorithm as the input size approaches infinity.
14. The scenario in which an algorithm takes an average amount of time to solve a given problem.
15. A function or algorithm that calls itself with a smaller version of the problem until a base case is reached.
16. A sorting algorithm that necessitates extra memory in order to arrange the array.
17. The amount of memory an algorithm requires to solve a problem as a function of the size of the input.
18. A problem-solving strategy that involves breaking a problem into sub-problems, solving each sub-problem independently, and then combining the solutions to solve the original problem.