Counting Arrays

Company: Oracle

Difficulty: medium