Array Challenge

Company: IBM___.

Difficulty: medium