Epsilon interview question

they asked a sorted array question and mostly kafka