This content outlines the process of converting modern numbers into ancient Roman numerals in C#. It describes the rules for conversion, provides a start-to-finish coding solution with testing, and explores the iterative process of refining the code for efficiency and readability. The final solution leverages recursion and LINQ, illustrating the elegance and power of C#... Continue reading →
This article discusses a coding challenge to create a phone number from an array of integers in C#. The solution uses string formatting, robust testing with NUnit, and extends to include internationalization and encoding/decoding features for phone numbers. The article details the implementation, testing, and challenges faced, providing valuable insights for software developers. Continue reading →
The post delves into exploring binary tree algorithms and data structures. The author develops a Climber class to find the maximum sum path from the root to a leaf in a binary tree, accompanied by thorough testing. The code is iteratively refined, highlighting the author’s testing-centric approach and commitment to effective refactoring. Continue reading →
Alright, there’s this one algorithm that I’ve solved before. I’ve always found it to be a rather fun little exercise to work out. It popped into my head recently and I wanted to recollect how the logic of it went, but my Google-fu wasn’t so great. In the end, I didn’t find the algorithm problem... Continue reading →
I’ve been practicing up on some algorithms with Go per my Resolutions for 2018 item “Write More Code, Build Patterns, Algorithms”. Here’s a few of the ones I took a quick review of, from the algorithm perspective. The first algorithm I took a dive into is a big sum problem. Part of the reason is... Continue reading →