摘要: 1 """ 2 Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put. 3 get(key) 阅读全文
posted @ 2020-03-06 20:51 yawenw 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 1 """ 2 Implement a basic calculator to evaluate a simple expression string. 3 The expression string contains only non-negative integers, +, -, *, / o 阅读全文
posted @ 2020-03-06 17:09 yawenw 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1 """ 2 Given a non-empty array of digits representing a non-negative integer, plus one to the integer. 3 The digits are stored such that the most sig 阅读全文
posted @ 2020-03-06 11:45 yawenw 阅读(148) 评论(0) 推荐(0) 编辑