Skip to content

Conversation

@rinostar
Copy link

Binary and Decimal

Congratulations! You're submitting your assignment.

Copy link

@CheezItMan CheezItMan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, this hit the learning goals, although I would work on naming your variables a little more meaningfully.

def binary_to_decimal(binary_array)
raise NotImplementedError
end
n = binary_array.length - 1

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest using more meaningful variable names than n, m and r

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants