Adobe Interview Question

Insertion in the middle of array