标签:
Solution 1: https://www.hackerrank.com/challenges/number-list/editorial
Reversed thought: total no. of subsets - no. of subsets without arr[i] > k
Solution 2: constructive solution:
http://www.martinkysel.com/hackerrank-number-list-solution/
标签:
原文地址:http://www.cnblogs.com/tonix/p/4493552.html