you give integer array num size nConsider nonempty subarray num maximum possible bitwise andin word let k maximum value bitwise and subarray num then subarray bitwise and equal k consideredreturn length long subarraythe bitwise and array bitwise and number itA subarray contiguous sequence element array Example 1input num 123322output 2explanationthe maximum possible bitwise and subarray 3the long subarray value 33 return 2example 2input num 1234output 1explanationthe maximum possible bitwise and subarray 4the long subarray value 4 return 1 Constraints1 numslength 1051 numsi 106