Given an integer array
arr
, returntrue
if there are three consecutive odd numbers in the array. Otherwise, returnfalse
.
1 | class Solution { |
Given an integer array
arr
, returntrue
if there are three consecutive odd numbers in the array. Otherwise, returnfalse
.
1 | class Solution { |