Java Bitset Hackerrank Solution For Sql