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, [...]

Tags: ,

Partitions of an Integer in PHP

by Dan Pisarski in php

· No Comments

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 ways [...]

Tags: ,