Kotlinlearncs.online LogoJava
Return to List

Solve: Reverse Three

Imported By: Geoffrey Challen
/ Version: 2021.6.0

Given an IntArray of length three, return a new array with the elements in the reverse order.

fun reverseThree(values: IntArray): IntArray {
return intArrayOf() // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful:


Attribution must link to this page: https://www.learncs.online/solve/kotlin/reverse-three/[email protected]