Today I did two exercises Triangle which involved checking if three given side lengths make a scaline, isoclese, or equilateral triangle. It was simple. The second Rational numbers involved filling out a Rational number class with multiply, addition, exponentiation and[…]↓ Read the rest of this entry…
100 Days of Code 2025
Today’s exercise was computing the score for a throw in Darts. With that I have now just passed the two-thirds mark in the 100 Days of Code challenge. Hooray! Ok so on to the expression parser. I added tokens for[…]↓ Read the rest of this entry…
Armstrong Numbers are where each digit of a number taken to the power of the number of digits in the number adds up to the number itself. That was today’s C# exercise. I decided to try using LINQ, and it[…]↓ Read the rest of this entry…
Today’s exercise was Pythagorean Triplet. I solved it both with a FOR loop and also with a LINQ query. The for loop was nine times faster. If you do it the most straightforward way it is O(N^3) which tanks your[…]↓ Read the rest of this entry…
Prime Factors was today’s exercise. Pretty straightforward. I did notice that the problem had changed since some of the community solutions shouldn’t have passed with the current instructions. On the Raspberry Pi Pico front, I finished up chapters 8 through[…]↓ Read the rest of this entry…
Less than a week from the C# track half-way point. Should I switch between tracks when I get there, start a new track, or keep going on the C# track? Anyway today’s exercise was Pascal’s Triangle. I saw someone using[…]↓ Read the rest of this entry…
Largest Series Product was today’s exercise. I tried using LINQ to compute the product, but I just got syntax errors and eventually gave up and used normal loops. The first community solution did use LINQ and it read well too.[…]↓ Read the rest of this entry…
Today’s exercise was All your Base. It took me a long time but I got it working. I wanted to convert it as I went but instead I converted the digits to a number then using modulus math and division[…]↓ Read the rest of this entry…
Today’s exercise was Accumulate. We were supposed to run a function on each item in an enumerable returning an enumerable with the results. The trick was no LINQ function, write an extension method instead. It turns out that their syntax[…]↓ Read the rest of this entry…
Today’s exercise was a little tricky. It had you adding things up by multiples. Somehow the Range Enumeration function is faster than counting by twos (or similar). Of course your count was off if you got exactly to the max[…]↓ Read the rest of this entry…







