C. c = 1 & c = 2 are such that ans always exists so l,r will always be lenghted atleast k =>(0->k-1)
for c = 2 -> if u keep going from 0-> some x
then while doing ops for c = 1 u might replace a val which will make the chenge the mex from k to something
instead always keep ..