07 2019 档案

摘要:"[Leetcode]87. Scramble String" 本题难度: Hard Topic: divide and conquere Description Given a string s1, we may represent it as a binary tree by partition 阅读全文
posted @ 2019-07-27 15:02 siriusli 阅读(127) 评论(0) 推荐(0)
摘要:"[Leetcode]981. Time Based Key Value Store" 本题难度: Medium Description Create a timebased key value store class TimeMap, that supports two operations. 1 阅读全文
posted @ 2019-07-27 14:59 siriusli 阅读(128) 评论(0) 推荐(0)
摘要:"[Leetcode]658. Find K Closest Elements" 本题难度: Hard/Medium Topic: Data Structure Description 我的代码 python import bisect class Solution: def findClosest 阅读全文
posted @ 2019-07-27 14:58 siriusli 阅读(75) 评论(0) 推荐(0)
摘要:"Leetcode:932. Beautiful Array" 本题难度: Hard Topic: divide and conquer Description For some fixed N, an array A is beautiful if it is a permutation of t 阅读全文
posted @ 2019-07-27 14:47 siriusli 阅读(133) 评论(0) 推荐(0)
摘要:[Lintcode]739. 24 Game/[Leetcode]679. 24 Game 本题难度: Hard/Medium Description You have 4 cards each containing a number from 1 to 9. You need to judge w 阅读全文
posted @ 2019-07-15 22:17 siriusli 阅读(119) 评论(0) 推荐(0)