This question evaluates understanding of factorial computation and algorithmic techniques, including iterative versus recursive approaches, handling large integers and recursion constraints, and efficient counting of trailing zeros via number-theoretic reasoning.
Answer the following coding questions in Python.
Implement a function factorial(n) that returns for a non-negative integer n.
Given an integer n, compute the number of trailing zeros in the decimal representation of (i.e., how many zeros at the end).
n
(do
not
compute
explicitly).