09 2018 档案
LeetCode664. Strange Printer
摘要:There is a strange printer with the following two special requirements: Given a string consists of lower English letters only, your job is to count th 阅读全文
posted @ 2018-09-29 16:54 f91og 阅读(247) 评论(0) 推荐(0) 编辑
LeetCode517. Super Washing Machines
摘要:You have n super washing machines on a line. Initially, each washing machine has some dresses or is empty. For each move, you could choose any m (1 ≤ 阅读全文
posted @ 2018-09-29 15:45 f91og 阅读(314) 评论(0) 推荐(0) 编辑
LeetCode446. Arithmetic Slices II - Subsequence
摘要:A sequence of numbers is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the 阅读全文
posted @ 2018-09-28 23:35 f91og 阅读(332) 评论(0) 推荐(0) 编辑
LeetCode403. Frog Jump
摘要:A frog is crossing a river. The river is divided into x units and at each unit there may or may not exist a stone. The frog can jump on a stone, but i 阅读全文
posted @ 2018-09-28 21:31 f91og 阅读(264) 评论(0) 推荐(0) 编辑
LeetCode282. Expression Add Operators
摘要:Given a string that contains only digits 0-9 and a target value, return all possibilities to add binary operators (not unary) +, -, or *between the di 阅读全文
posted @ 2018-09-28 00:04 f91og 阅读(175) 评论(0) 推荐(0) 编辑
LeetCode828. Unique Letter String
摘要:https://leetcode.com/problems/unique-letter-string/description/ A character is unique in string S if it occurs exactly once in it. For example, in str 阅读全文
posted @ 2018-09-26 23:41 f91og 阅读(456) 评论(0) 推荐(0) 编辑
新单词和语法的学习(英文)
摘要:1. 习惯于 be used to be accustomed to eg: I'm used to loneliness. / 我已习惯孤独 He is accustomed to hard work. / 他习惯艰苦工作 She used to make a speech in public. 阅读全文
posted @ 2018-09-24 12:13 f91og 阅读(409) 评论(0) 推荐(0) 编辑
算法笔试题整理——升级蓄水池 && 字符串数字表达式计算值 && 求旅游完所有景点需要的最少天数 && 宝箱怪
摘要:1. 小米笔试题——升级蓄水池 题目描述: 在米兔生活的二维世界中,建造蓄水池非常简单。 一个蓄水池可以用n个坐标轴上的非负整数表示,代表区间为【0-n】范围内宽度为1的墙壁的高度。 如下图1,黑色部分是墙壁,墙壁的高度是[0,1,0,2,1,0,1,3,2,1,2,1] ,蓝色部分是蓄水的面积,可 阅读全文
posted @ 2018-09-23 00:35 f91og 阅读(1416) 评论(2) 推荐(0) 编辑
一些相似单词的区别之处
摘要:1. devote 和 contribute https://zhidao.baidu.com/question/328034454447561365.html contribute to 和devote to区别1、devote to:专心致力于,把…专用于,另外还有听任的意思。2、contrib 阅读全文
posted @ 2018-09-22 17:41 f91og 阅读(1693) 评论(0) 推荐(1) 编辑
LeetCode301. Remove Invalid Parentheses
摘要:Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results. Note: The input string may cont 阅读全文
posted @ 2018-09-18 12:16 f91og 阅读(204) 评论(0) 推荐(0) 编辑
算法刷题细节点总结
摘要:1. 关于集合 (1) 关于map 遍历map:https://www.cnblogs.com/imzhj/p/5981665.html 感觉最好记的方法是这个: 关于get方法的一个注意点: (2) set集合的增删改元素方法和List集合是一样的吗?remove方法的一个疑问 一样的,都是 ad 阅读全文
posted @ 2018-09-18 12:16 f91og 阅读(315) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示