Compositions of N with No Two Equal Adjacent Parts

Company: INFOSYS

Difficulty: medium