結果 : write an algorithm to find largest element in array