I was trying it by brute force it is still giving wrong for 1 test case pls help
Https://ide.codingblocks.com/s/160866
Hey @Aug19LPPP0134
According to your code, you’ve considered only contiguous subsets of the set, while you need to consider all the subsets, that’s why you’re getting a wrong answer.