3 ms·
Really, this looks like a rather silly way to put this function together. It doesn't even run in constant time! It might be a little complicated, due to the l
by Jebdm 18y ago
Really, this looks like a rather silly way to put this function together. It doesn't even run in constant time! It might be a little complicated, due to the leap year rules, but it would probably not be too difficult to do this calculation without any loops.