// Given two sorted arrays A and B, generate all possible arrays such that the first element is taken from A then from B then from A, // and so on in increasing order till the arrays are exhausted.