摘要: Factorial Trailing ZeroesGiven an integern, return the number of trailing zeroes inn!.Note:Your solution should be in logarithmic time complexity.Cred... 阅读全文
posted @ 2015-07-02 11:17 尾巴草 阅读(169) 评论(1) 推荐(0) 编辑
摘要: Problem:Rotate an array of n elements to the right by k steps.For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,... 阅读全文
posted @ 2015-07-02 10:00 尾巴草 阅读(112) 评论(0) 推荐(0) 编辑