Unified all array problems into one file