This is the end of the first week of my first software engineering class at CSUMB. Even though the workload was pretty light, it has been difficult to get everything done because I was in Illinois for a lot of the week. Most of the tasks we had to do were simple things like getting familiar with GitHub and some simple java puzzles/problems as a refresher.
I have been using java for a year or two at this point so most of the problems were quick and easy, but there were two that had me stumped for a while. The problems seemed simple at first and my solutions were pretty short in the end, but it was frustrating to solve. Both problems revolved around manipulating the last few characters of strings, and for some reason it was giving me some trouble.
Here’s what it looked like as I worked my way through the unit tests for these two problems.


For what it’s worth, it was pretty satisfying to eventually get all the tests to pass, even though the problems were pretty trivial in the end.