3 ms·
you can also base your solution on hamilton cycles. that also boils down to o(1).
by toolslive 5y ago
you can also base your solution on hamilton cycles. that also boils down to o(1).
- mcherm 5y ago> you can also base your solution on hamilton cycles I don't know what that means. Can you illustrate (preferably with a code example)?
- toolslive 5y agohttps://incubaid.wordpress.com/2012/01/24/number-of-trailing-zeroes/ https://incubaid.wordpress.com/2012/01/24/number-of-trailing... is part of the solution. the other part is getting to the most significant digit.