Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一组 ={1,2,3,4}。我想创建这组的电源组。创建幂集的一种方法是将每个元素作为二进制(0/1)并打印所有可能的组合。
我正在考虑使用java中的一些实用程序/库来做同样的事情。