(a). First question which he asked was to check if all the elements appears thrice in an array. I was asked to explain the logic and then to write the code.
(b). Second question was to check whether elements can be put in {X,X+1,X+2,X+3,X+4} format. I was asked to explain the logic and then to write the code.
(c). Third question was to check whether elements can be put in N-series {X,X+1,X+2,X+3,X+4…,X+n-1} format .I was just asked to explain the logic as time got over.
Interviewer was very generous and supportive.