Laserfiche Interview Question

Basic algorithm questions. Mine had to do with arrays.