Tony's Log

Algorithms, Distributed System, Machine Learning

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

Key point of this problem is "New subsets are the all old subsets having a[i]." - A very useful trick.

After that, it'll simply be a DP one.

posted on 2018-01-16 10:57  Tonix  阅读(113)  评论(0编辑  收藏  举报