Update selection_sort.cpp

This commit is contained in:
Lajat5
2021-10-06 01:28:25 +05:30
committed by GitHub
parent 15ac3801d9
commit daf10cd06d

View File

@@ -45,7 +45,7 @@ namespace sorting {
*******************************************************************************/
void selectionSort(
std::array<int, 8>& arr,
std::array<int, 8> &arr,
int len) { // Array size is const, can be modified by replacing "8" at (Ln
// 45, Col 21) & (Ln 45, Col 60).
for (auto it = 0; it < len; ++it) {
@@ -123,4 +123,4 @@ static void test() {
int main() {
test(); // run self-test implementations
return 0;
}
}