摘要: Number of Digit OneGiven an integer n, count the total number of digit 1 appearing in all non-negative integers less than or equal to n.For example:Gi... 阅读全文
posted @ 2015-07-08 23:46 `Liok 阅读(524) 评论(0) 推荐(0) 编辑
摘要: Implement Queue using StacksImplement the following operations of a queue using stacks.push(x) -- Push element x to the back of queue.pop() -- Removes... 阅读全文
posted @ 2015-07-08 00:55 `Liok 阅读(472) 评论(0) 推荐(0) 编辑