Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
recursive solution in Clear category for End Zeros by makoto_yamagata
def end_zeros(num: int) -> int:
if num % 10:
return 0
return 1 + (end_zeros(num // 10) if num else 0)
Dec. 24, 2020
Comments: