Skip to content

Commit

Permalink
fix swap method
Browse files Browse the repository at this point in the history
  • Loading branch information
CheezItMan authored Sep 16, 2019
1 parent 4d23290 commit 5f8c2d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 04-cs-fundamentals/internship/heaps.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private
def swap(index_1, index_2)
temp = @store[index_1]
@store[index_1] = @store[index_2]
@store[index_2] = @store[index_1]
@store[index_2] = temp
end
```

Expand Down

0 comments on commit 5f8c2d9

Please sign in to comment.