結果 : minimum operations 4 hackerrank solution