Atlassian Interview Question

Coding the Reconstruction of Arrays