Microsoft interview question

Implement a queue in any language backed by an array. Explain how to test.

Interview Answer

Anonymous

11 Aug 2015

Create a handful of references to keep track of where you need to be adding elements and removing elements. Be able to detect when the array needs to be resized.