0
I have an array with 100 elements. Array elements are a set of ones and zeros. For example, Array[100] = {0,0,1,0,1,0,1,1,1,0,0,0,0,0,1,1,0,1,0,0,1,0,0,0,1,1,....,1}
If we assume that variable needed has the value of 2, then the "find_gap_randomly" function selects 2 contiguous zero elements (A ...