Minimize Array Cost - HCLTech OA Question | OAHelper