Total Energy of Subsequences

Company: Teradata_IITBHU_27sep

Difficulty: medium