Difficulty:easy More:【目录】LeetCode Java实现 Description https://leetcode.com/problems/count-and-say/ The count-and-say sequence is the sequence of intege ...
分类:
其他好文 时间:
2019-10-13 13:09:27
阅读次数:
85
1051. 高度检查器 (Easy)学校在拍年度纪念照时,一般要求学生按照 非递减 的高度顺序排列。请你返回至少有多少个学生没有站在正确位置数量。该人数指的是:能让所有学生以 非递减 高度排列的必要移动人数。示例:输入:[1,1,4,2,1,3]输出:3解释:高度为 4、3 和最后一个 1 的学生,... ...
分类:
其他好文 时间:
2019-10-11 23:40:00
阅读次数:
113
EditText搜索结果下拉框、自动or回调模式、可diy、使用超简便 (EditText search results drop-down box, auto or callback mode, diy, easy to use) Github地址 YangsBryant/BSearchEdit ...
分类:
移动开发 时间:
2019-10-11 12:48:37
阅读次数:
119
"Tiling_easy version" 思路:关于 这种东西,有一点必须要想明白,就是状态与状态之间的转换关系,就比如说要求5个骨牌的方案数,因为有两种骨牌,那么可以用 +两个横着的骨牌或者一个 的骨牌,或者是 +一个竖着的 骨牌来构成,那么递推的公式就是 代码: cpp // Created ...
分类:
其他好文 时间:
2019-10-10 20:42:25
阅读次数:
93
Difficulty:easy More:【目录】LeetCode Java实现 Description https://leetcode.com/problems/first-unique-character-in-a-string/ Given a string, find the first ...
分类:
其他好文 时间:
2019-10-10 10:39:39
阅读次数:
78
Easy Given a non-empty, singly linked list with head node head, return a middle node of linked list. If there are two middle nodes, return the second ...
分类:
其他好文 时间:
2019-10-10 10:29:24
阅读次数:
70
1、eggjs官网: https://eggjs.org/zh-cn/tutorials/index.html 2、egg + vue 工程化解决方案,包括ssr: https://www.yuque.com/easy-team/egg-vue ...
分类:
Web程序 时间:
2019-10-09 15:27:59
阅读次数:
91
这是小川的第421次更新,第454篇原创 看题和准备 今天介绍的是 LeetCode 算法题中 Easy 级别的第 270 题(顺位题号是 1217 )。There are some chips, and the chip is at position . You can perform any o ...
分类:
其他好文 时间:
2019-10-09 09:18:02
阅读次数:
76
环境准备OS: MAC 10.14Python: 3.7.4django: 2.2.3 安装pipsudo easy_install pip安装pip执行pip3 -V可以查看pip版本,看是否为pip3,默认安装python3时会自动安装pip3 安装python3brew install pyt... ...
分类:
其他好文 时间:
2019-10-08 23:41:59
阅读次数:
147
Difficulty:easy More:【目录】LeetCode Java实现 Description https://leetcode.com/problems/remove-duplicates-from-sorted-array/ Given a sorted array nums, rem ...
分类:
其他好文 时间:
2019-10-08 16:13:29
阅读次数:
97