# Leetcode 172 - Factorial trailing zeroes

Given an integer `n`

, return *the number of trailing zeroes in n!*.

**Note**: The key is to figure out that the number of trailing zeros is determined by the number of `5`

in each number.

**Example 1:**

1 | Input: n = 3 |

**Example 2:**

1 | Input: n = 5 |

1 | var trailingZeroes = function(n) { |