Problem Description

Task: given masks a and b, return true if b is subset of a (all bits in b also set in a).

Input Format

Java method

Output Format

Return value

Constraints

Use (a & b)==b.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next