F_G

许多问题需要说清楚就可以&&走永远比跑来的重要

导航

[Leetcode] Subset I

method 1: permutation !

method 2: use integer and select element according to the bit in each integer.

 

posted on 2015-08-12 17:12  F_G  阅读(102)  评论(0编辑  收藏  举报