- Guías de estudio, Notas de estudios & Resúmenes
¿Buscas las mejores guías de estudio, notas de estudio y resúmenes para ? En esta página encontrarás 2 documentos de estudio para .
2 resultados
Examen
CPSC 2120 Exam 1 Question and answers 100% correct 2025/2026
NuevoCPSC 2120 Exam 1 Question and answers 100% correct 2025/2026 
 
Selection Sort - correct answer sorts an array by repeatedly selecting the smallest (or largest) element from the unsorted portion and swapping it with the first unsorted element 
- linear search 
 
What are the time complexities for Selection Sort? - correct answer Best case: Ω(n2) 
Worst case: O(n2) 
Average case: Θ(n2) 
 
Selection Sort Properties - correct answer Space: O(1) 
In place: Yes 
Stable: No, Why? 
Example: 2A,...
Examen
CPSC 2120 Final Question and answers rated A+ 2025/2026
PopularCPSC 2120 Final Question and answers rated A+ 2025/2026 
 
bounds for O(x) - correct answer f(n) <= x 
 
bounds for o(x) - correct answer f(n) < x 
 
bounds for θ(x) - correct answer f(n) = x 
 
bounds for Ω(x) - correct answer f(n) >= x 
 
bounds for ω(x) - correct answer f(n) > x 
 
What are the two kinds of data structures - correct answer next item is over one spot, current location tells you where next location