#253. arrayFront9
arrayFront9
Background
Description
Given an array of ints, return true if one of the first 4 elements in the array is a 9. The array length may be less than 4.
Format
Input
Output
Samples
[1 2 9 3 4]
true
[1 2 3 4 9]
false
[1 2 3 4 5]
false
Limitation
1s, 1024KiB for each test case.