Check odd using bit operator

Java Easy 4 views
Back to Questions

Problem Description

Task: return true if x is odd using bitwise operator.

Input Format

Java method

Output Format

Return value

Constraints

Handle negative too.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next