結果 : find if array can be sorted leetcode