Problem Description

Task: parse a binary string (like 10110) and return integer value.

Input Format

Java method

Output Format

Return value

Constraints

Assume only '0' and '1'.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next