摘要: 标题:Plus One通过率:31.1%难度:简单Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the mos... 阅读全文
posted @ 2015-01-16 14:47 pku_smile 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 标题:Min Stack通过率:15.2%难度:简单Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.push(x) -- Push element x o... 阅读全文
posted @ 2015-01-16 14:39 pku_smile 阅读(164) 评论(0) 推荐(0) 编辑