Amdocs interview question

Collection vs Stream