結果 : write an algorithm to insert and delete an element in an array