Kotlinlearncs.online LogoJava
Return to List

Solve: Fix 23

Imported By: Geoffrey Challen
/ Version: 2021.6.0

Given an int[] with length 3, if there is a 2 in the array immediately followed by a 3, set the 3 element to 0. Return the changed array.

int[] fix23(int[] values) {
return null; // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: