!!! UPDATE !!!
This post has been updated in order to add comments to the code and add the source code to GitHub. Apparently I forgot to create a repository. Sorry about that.
What called my attention was a comment which I will respond to as soon as I finish updating the contents of this post.
It is Saturday and the forecast calls for the sun to shine on and off during the day. I am planning on fixing a couple pizzas from scratch. After breakfast I made the dough. It will rest for at least two hours before I make and bake the pies. My wife and I should be having lunch around 01:00 PM; at least, that is the plan.
This morning I looked at the Non-Divisible Subset challenge from Hacker Rank. Tried a couple approaches but did not submit them because they were using brute force and figured that they would not pass. There had to be a simpler approach. Continue reading “Non-Divisible Subset”