Cloud Mentor interview question

1. perfect sum 2. substring in strings