Chubb Interview Question

subset sum? duplicates in n array basic dsa