I was going through an article to answer subset sum query using bitset(c++ container) . I was wondering how to do the same using BitSet class in java!.
The problem lies on the point that we can perform left shit operation ( << ) on bitset object in c++ , but that is not allowed on the object of BitSet class in Java !!
Related article - link text
Any help will be appreciated.