Kotlinlearncs.online LogoJava
Return to List

Solve: Array 123

Imported By: Geoffrey Challen
/ Version: 2021.5.0

Given an IntArray, return true if the sequence of numbers 1, 2, 3 appears in the array somewhere.

fun array123(values: IntArray): Boolean {
return false // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: