Circular Buffer was today’s C# exercise. It was a fairly tricky one. I wanted to watch for the pointers to overlap which doesn’t really work when capacity is one. Instead I switched to a counter that keeps track of how[…]↓ Read the rest of this entry…
100 Days of Code 2025
Today’s exercise was Rotational Cipher sometimes known as the Caeser Cipher. While yesterday was LINQ to the rescue, looking at the community solutions I think it was LINQ functions to obfuscate. I could maybe see making a single function to[…]↓ Read the rest of this entry…
LINQ to the rescue. For the exercise Grade School LINQ makes the code shorter and more readable (in my opinion). Last night I did a couple more chapters in the book. I feel like I should have been done by[…]↓ Read the rest of this entry…
Todays exercise was Allergies. I went off and made a allergen name dictionary that I …. didn’t need at all (why don’t I read the whole thing first). Looking at community solutions, people are using HasFlag() which is better, but[…]↓ Read the rest of this entry…
Today’s exercise is Robot Name. That site seems slow and unstable lately, I am thinking they are doing upgrades. However, I did have to submit my code twice since it timed out the first time around. Tried to be different[…]↓ Read the rest of this entry…
Today’s exercise is nucleotide. Count up the occurrences of a character in a string and throw an error if you find something that isn’t in ‘A’, ‘C’, ‘G’, or ‘T’. Nothing too interesting. Well looks like the book is out[…]↓ Read the rest of this entry…
Todays exercise was hamming, it took less than ten minutes. Basically just count how many characters differ between two equal length strings. It looks like I finished the django rest api backend. Tomorrow (Chapter 13) starts the React frontend. Today’s[…]↓ Read the rest of this entry…
Today’s exercise was High Scores. I decided to try LINQ on the last part. Looks like my LINQ is quite rusty but I got it in the end. Next chapter in the book is chapter 10. At this point I[…]↓ Read the rest of this entry…
Remember when I said the exercism C# course was nearly a quarter learning exercises? Well it looks I passed the 25% mark four exercises ago. Got to mark the occasions in life. Anyway today was Space Age, calculate your age[…]↓ Read the rest of this entry…
Todays exercise was Resistor Codes. I really should read all the way through before I start coding. I used a dictionary they wanted an array. I think dictionary is better for lookup so I kept it. On the tic-tac-toe program[…]↓ Read the rest of this entry…









