摘要:
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put. get(key) - Get the 阅读全文
posted @ 2019-10-29 09:03
Schwifty
阅读(141)
评论(0)
推荐(0)
摘要:
Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, add spaces in s to construct a sentence where each word is 阅读全文
posted @ 2019-10-29 04:00
Schwifty
阅读(162)
评论(0)
推荐(0)
摘要:
Compare two version numbers version1 and version2.If version1 > version2 return 1; if version1 < version2 return -1;otherwise return 0. You may assume 阅读全文
posted @ 2019-10-29 01:53
Schwifty
阅读(204)
评论(0)
推荐(0)

浙公网安备 33010602011771号