Number of Ways to Form Sum

Company: Flipkart_13july

Difficulty: medium