I was thinking about task 2 in today’s #PerlWeeklyChallenge and after few false starts I found out this is essentially multiway number partitioning problem with k=4. I’ll probably go with greedy number partitioning algorithm and call it a day.
https://theweeklychallenge.org/blog/perl-weekly-challenge-296/
[#]programming #TIL #compsci
=> More informations about this toot | View the thread | More toots from mirekdlugosz@fosstodon.org
=> View perlweeklychallenge tag | View programming tag | View til tag | View compsci tag This content has been proxied by September (3851b).Proxy Information
text/gemini