Distinct Least Significant Bit Subset

Company: Flipkart

Difficulty: medium