We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddc1838 commit ec0d284Copy full SHA for ec0d284
SortingAlgorithm.java
@@ -143,7 +143,7 @@ public void selectionSort() {
143
public Void doInBackground() throws InterruptedException {
144
for(current_index = 0; current_index < SIZE-1; current_index++) {
145
int min_index = current_index;
146
- for(int traversing_index = current_index + 1; traversing_index < SIZE; traversing_index++) {
+ for(int traversing_index = current_index + 1; traversing_index < SIZE0; traversing_index++) {
147
if (bar_height[traversing_index] < bar_height[min_index]) {
148
min_index = traversing_index;
149
}
0 commit comments