array interview questions javascript