Below you will find pages that utilize the taxonomy term “Algorithms”
Posts
read more
Binary to Decimal Conversion in Ruby
This week I wrote an algorithm in Ruby to convert binary numbers into decimal numbers. Here’s the problem description, from Exercism:
“Convert a binary number, represented as a string (e.g. ‘101010’), to its decimal equivalent using first principles. Implement binary to decimal conversion. Given a binary input string, your program should produce a decimal output. The program should handle invalid inputs.”
Posts
read more
Ceramic Nation
Project announcement! Last night I built a Markov Chain-generated novel, titled Ceramic Nation.