Tony's Log

Algorithms, Distributed System, Machine Learning

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

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/

posted on 2015-05-11 05:08  Tonix  阅读(187)  评论(0)    收藏  举报