#22. fix23
fix23
Background
Description
Given an int array 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.
Format
Input
Output
Samples
[1 2 3]
[1, 2, 0]
[2 3 5]
[2, 0, 5]
[1 2 1]
[1, 2, 1]
Limitation
1s, 1024KiB for each test case.