天天看點

Amazon OA

Remove Duplicates from unsorted array,它的錯誤在于9-10行k out of bound,改成下面這樣就沒問題了

Selection Sort Ascending order, 它的錯誤在于7行大于小于錯誤

Selection Sort Dscending order, 他的錯誤在于第5行大于小于錯誤

Reverse an int array, 它的問題在于第3行忘了-1

Print Pattern, 列印11, 1111, 111111,中間需要換行,它的問題在于括号少打了