Project Euler #35 Solution in Ruby

I haven’t done any Project Euler problems in Ruby as of yet, but since I’m spending a majority of my time coding in Ruby for the time being I figured it would be good to give it a try! Conceptually this question wasn’t too hard but my original solution had me turning numbers into strings …read more

LeetCode OJ | Majority Element Problem Solution

So over Christmas break I got a little caught up in these algorithm puzzles from LeetCode. I guess they’re actually algorithm questions used in coding interviews but they’re satisfying my puzzle craving for the time being. They allow you to answer in C++, Java, and Python. Since I don’t know C++ or Java I did …read more