Xoriant interview question

How will you implement an array?