This commit is contained in:
2026-03-03 16:39:41 +03:00
parent 0a55fef17c
commit 8baca20d36
15 changed files with 123 additions and 15 deletions
+8
View File
@@ -76,6 +76,14 @@ std::string SelectionSorter::getName() const {
return "Selection Sort";
}
std::string SelectionSorter::getTimeComplexity() const {
return "O(n²) / O(n²) / O(n²)";
}
std::string SelectionSorter::getSpaceComplexity() const {
return "O(1)";
}
void SelectionSorter::reset() {
i_ = 0;
j_ = 0;