摘要:
题目描述 Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST. Calling next() will return 阅读全文
摘要:
题目描述 Given an integer n, return the number of trailing zeroes in n!. 题目大意 给定一个正整数n,计算n!的后缀有几个零。 示例 E1 E2 解题思路 因为在n!中每出现一个5就会产生一个零(5 * 2 = 10、15 * 12 = 阅读全文