mirror of
https://github.com/TheAlgorithms/Ruby
synced 2024-11-16 19:50:00 +01:00
Fix lint
This commit is contained in:
parent
42dafdfe7a
commit
fe6d8489c3
1 changed files with 2 additions and 2 deletions
|
@ -48,11 +48,11 @@ def bubble_sort(array)
|
|||
array
|
||||
end
|
||||
|
||||
nums = [2,0,2,1,1,0]
|
||||
nums = [2, 0, 2, 1, 1, 0]
|
||||
puts sort_colors(nums)
|
||||
# Output: [0,0,1,1,2,2]
|
||||
|
||||
nums = [2,0,1]
|
||||
nums = [2, 0, 1]
|
||||
puts sort_colors(nums)
|
||||
# Output: [0,1,2]
|
||||
|
||||
|
|
Loading…
Reference in a new issue