I wrote in my first post about partitions of an integer in PHP that I had just started with PHP and that there were probably better ways to do a few of the lines in the code.
Well, having worked with PHP 5 now for a few weeks, I see there are, of course.
Specifically, it doesn’t [...]
Tag Archives: php
Slightly Better Partitions of an Integer in PHP
Add a comment
Partitions of an Integer in PHP
I recently started learning PHP, a language I had never caught up to but that recently became a requirement of my job.
For a start project, just to give myself something meaningful to write in it, I am writing some logic that places items into bins – some examples might include calculating all the [...]