JPMorganChase Interview Question

Some number questions that uses arrays