Obsessory interview question

Algorithmic questions mostly on array