Given a integer N, find out how many trailing zeroes are there for it's factorial result - N!. Sample Input: 10! Sample Output: 2 The factorial of 10 is 3628800,…
Given a total of N regular hexagon , find out how many rows of pyramid we can build. Note that every k-th row must have exactly k hexagon. Sample Input:…