Count Ways to Obtain Exactly k Subgraphs

Company: flipkart_18oct

Difficulty: medium