5 ms·
A cached map will do best if you actualy need a fast factorial. There are very little entries before the numbers become pointlessly big.
by ipeev 4mo ago
A cached map will do best if you actualy need a fast factorial. There are very little entries before the numbers become pointlessly big.
- karmakurtisaani 4mo agoNot if you want to calculate modulo some big number. Might still be useful tho.
- deleted 4mo ago[deleted]