Merge pull request #12 from srksumanth/sumanth

Improve loop syntax and format code
pull/16/head
0xAX 6 years ago committed by GitHub
commit 741916f31c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,7 +19,7 @@ func main() {
left := 0
right := len(arr) - 1
for ; left <= right ; {
for left <= right {
if arr[left] > arr[left+1] {
tmp = arr[left]

Loading…
Cancel
Save