#254. array123
array123
Background
Description
Given an array of ints, return true if the sequence of numbers 1, 2, 3 appears in the array somewhere.
Format
Input
Output
Samples
[1 1 2 3 1]
true
[1 1 2 4 1]
false
[1 1 2 1 2 3]
true
Limitation
1s, 1024KiB for each test case.