摘要: JavaScript 正则表达式顺序肯定环视应用 -- 千分符 阅读全文
posted @ 2019-12-22 15:33 liyan.web 阅读(628) 评论(0) 推荐(0) 编辑
摘要: 彻底搞懂 flex-shrink 压缩空间的计算方式 阅读全文
posted @ 2019-07-20 16:46 liyan.web 阅读(10435) 评论(1) 推荐(4) 编辑
摘要: react dva 异步数据state 传入组件,用props初始化组件state失败 阅读全文
posted @ 2018-08-04 11:24 liyan.web 阅读(14793) 评论(1) 推荐(0) 编辑
摘要: nodejs使用mustache模板引擎 阅读全文
posted @ 2018-05-11 17:39 liyan.web 阅读(1412) 评论(0) 推荐(0) 编辑
摘要: Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng 阅读全文
posted @ 2017-11-18 19:10 liyan.web 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 2. Add Two Numbers You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of 阅读全文
posted @ 2017-11-11 17:42 liyan.web 阅读(254) 评论(0) 推荐(0) 编辑
摘要: There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity sh 阅读全文
posted @ 2017-11-11 16:26 liyan.web 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 1. Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input wo 阅读全文
posted @ 2017-11-11 15:48 liyan.web 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 这星期听别人说在做LeetCode,让他分享一题来看看。试了感觉挺有意思,可以培养自己的思路,还能方便的查看优秀的解决方案。准备自己也开始。 解决方案通常有多种多样,我觉得把自己的解决思路记录下来,阶段性查看,一定能对自己有帮助。 这是我做的第一题,所以记录也从这题开始,之后尽力以简短的说明,描述出 阅读全文
posted @ 2017-11-10 23:09 liyan.web 阅读(528) 评论(0) 推荐(0) 编辑
摘要: toFixed,round,保留小数 阅读全文
posted @ 2017-11-05 20:01 liyan.web 阅读(14231) 评论(0) 推荐(0) 编辑