Ericsson Interview Question

Cherry Pickup 2 and Subet sum