Amazon interview question

Asked a question on Combination sum and graph based problems