Amdocs interview question

Subset Sum problem