Yahoo interview question

Questions on Arrays, with reducing memory complexity and time complexity