Constructing Two Increasing Arrays
Two arrays hold only 0s and 1s. Replace each 0 with an even positive integer and each 1 with an odd one so both arrays increase and no integer is used twice, keeping the largest integer as small as possible; return that integer.