IMDb Interview Question

Write code involving arrays. The question was vague.