3 ms·
Rather than first building up a huge pile of logs and then counting them, move the count to the location that generates the logs or the location that stores the
by tomtimtall 8y ago
Rather than first building up a huge pile of logs and then counting them, move the count to the location that generates the logs or the location that stores them. Easily done, no need for algorithms or special case solutions, just a simple set and count. Added bonus, the “task” is axiomatically done when the month ends no difficulties or special considerations needed there.