Ok, going to give another go … I think I can use the prime checker to start at the high end and work my way down. It will probably take longer but I won’t have try to size an array and track prime factors. Include some stuff, maybe some libraries? Num, Current, Result Create our … Continue reading Project Euler #3 Pseudocode II
I'm a firm believer that if you're having a problem writing your code, it is because you wrote bad pseudocode. Maybe it didn't have enough detail or a bad layout. Or maybe I ... I mean you ... you just don't know what you are doing. I bring this up because I wasted three hours … Continue reading Project Euler #3 BAD Pseudocode
In all seven languages in one night! Hell yeah! I still don't have enough data in Gitlab to start crutching some analytics though. In other news I caught with the Game Dev Quest podcast. I found it very motivational and like they say, "If they can do it, so can you." I think I'm going … Continue reading Finished up Euler #2 in ???
The Challenge Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... By considering the terms in the Fibonacci sequence whose values do not exceed four million, … Continue reading Project Euler #2 Pseudocode
That is PHP, Python, and Perl. Turned out to be a lot easier than I thought. Of course these are just simple iteration loops over number ranges and some basic math. But finished three in one day ... plus did all the GitLab management stuff. I also learned I can get by pretty well with just … Continue reading Finished up Euler #1 for three Ps
I finally finished Project Euler #1 in Ruby ... I say finally because it has been so long since I've even looked at Ruby code that I had to go through a few videos to get it done. But got done I did! A rant about GitLab aka I'm a dumb dumb ... I get … Continue reading Project Euler #1 Ruby Done!