kelvins / algorithms-and-data-structures

:abacus: Algorithms and Data Structures in several Programming Languages
MIT License
1.05k stars 264 forks source link

Add Subsets using Bit Manipulation #325

Closed Hardvan closed 11 months ago

Hardvan commented 11 months ago

Added an algorithm to generate subsets of a given integer array using bit manipulation. Time: O(n * 2ⁿ) Space: O(1)

kelvins commented 11 months ago

Could you please add the link in the README file?

Hardvan commented 11 months ago

Done!