- 博客(9)
- 收藏
- 关注
原创 reverse or rotate
The input is a string str of digits. Cut the string into chunks of size sz (ignore the last chunk if its size is less than sz). If a chunk represents an integer such as the sum of the cubes of its d
2016-11-17 19:43:24 888
原创 查找子串,并且按字典顺序排序
没事刷刷题。 Given two arrays of strings a1 and a2 return a sorted array r in lexicographical order of the strings of a1 which are substrings of strings of a2. Example 1: a1 = [“arp”, “live”, “strong
2016-11-17 18:50:54 736
原创 dropWhile
dropWhile Yet another staple for the functional programmer. You have a sequence of values and some predicate for those values. You want to remove the longest prefix of elements such that the predicat
2016-11-17 18:01:17 420
转载 关于js中数据类型的探讨,转载http://www.cnblogs.com/sharpxiajun/p/4133462.html
今天看到在看有关js中基本数据类型和引用类型的知识点,看到一篇博文,感觉作者分析的很深入,写得很明白,故此转载一下。转载出处:http://www.cnblogs.com/sharpxiajun/p/4133462.html1) 引子 前不久我建立的技术群里一位MM问了一个这样的问题,她贴出的代码如下所示:var a = 1;function heh
2016-11-06 23:19:51 887
原创 stm32 KEIL软件设置程序烧写起始地址
STM32 KEIL软件设置程序烧写起始地址选择STM32系列的mcu,这儿以cortex-M3为例,我们在线调试时,一般会设置程序烧写起始地址和大小。这个大小一般是0x08000000,也就是内部flash的映射地址。不过有些产品是从0x08020000开始的,这是为什么呢?是因为在0x08000000-0x08020000这段空间放的是引导程序,也就是引导程序是从0x08000000开始存
2016-11-03 14:56:30 25943
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人