Skip to content

Conversation

@goblineer
Copy link

Binary and Decimal

Congratulations! You're submitting your assignment.

@goblineer
Copy link
Author

I took the assignment very literally, so when I made my plain-English algorithm in class, I did it in a way that was really concrete and mechanical. It involved tracking the base position in the array using stars drawn on a piece of paper, and writing out integers one at a time to be added together when no more input was left. That's why my algorithm is a little silly here. It matches the process I made in class, but it's not the most efficient way to do things.

@aphunk
Copy link

aphunk commented Mar 5, 2019

I had some questions about the use of "*" but it makes sense now after reading your explanation above. For the purpose of the code, I agree that it can be more efficient, but I love getting this peek into the way you thought about the problem!

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