#86. has12
has12
Background
Description
Given an array of ints, return true if there is a 1 in the array with a 2 somewhere later in the array.
Format
Input
Output
Samples
[1 3 2]
true
[3 1 2]
true
[3 1 4 5 2]
true
Limitation
1s, 1024KiB for each test case.