02 2021 档案

摘要:Source Given n, how many structurally unique BSTs (binary search trees) that store values 1...n? Example Given n = 3, there are a total of 5 unique BS 阅读全文
posted @ 2021-02-28 14:23 凌雨尘 阅读(99) 评论(0) 推荐(0)
摘要:Source Write an algorithm which computes the number of trailing zeros in n factorial. Example 11! = 39916800, so the out should be 2 Challenge O(log N 阅读全文
posted @ 2021-02-17 13:58 凌雨尘 阅读(133) 评论(0) 推荐(0)