MaxLinear interview question

Implement an array with an overflow