Amdocs interview question

Merge Two Arrays of Objects based on some condition