MaxLinear Interview Question

Implement an array with an overflow