mirror of
https://github.com/koloideal/SortLab.git
synced 2026-06-10 10:25:30 +03:00
skelet
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user