list handle


Submit solution

Points: 40 (partial)
Time limit: 1.0s
Memory limit: 256M

Authors:
Problem type
Allowed languages
Java 19, Java 8

題目說明

請設計一類別,其中包含以下方法:

`ReturnMax`: 傳入一陣列後回傳最大值
`ReturnMin`: 傳入一陣列後回傳最小值
`Reverse`: 傳入一陣列後將其反轉輸出

輸入

一維陣列長度,一維陣列包含的值

輸出

最大值、最小值、反轉陣列

測試資料0 輸入

5 1 1 2 4 5

測試資料0 輸出

5 1 5 4 2 1 1

Comments

There are no comments at the moment.