Sreeja interview question

They asked basic array questions