字符串 常用的操作方法 .count() .find() .join() .encode() .decode() .endswith() .startswitch('A') .isdigit() .strip() .replace('xx','') .split(',')#以xx来分割字符串,返回的 ...
分类:
编程语言 时间:
2016-11-17 23:51:00
阅读次数:
226
Description Give you a lot of positive integers, just to find out how many prime numbers there are. Description Give you a lot of positive integers, j ...
分类:
其他好文 时间:
2016-11-17 23:35:43
阅读次数:
211
Description Given a string, find a substring of it which the original string contains exactly n such substrings. Description Given a string, find a su ...
分类:
编程语言 时间:
2016-11-17 23:15:24
阅读次数:
211
Android图表库MPAndroidChart(四)——条形图的绘制过程过程,隐隐约约我看到了套路
在学习本课程之前我建议先把我之前的博客看完,这样对整体的流程有一个大致的了解 Android图...
分类:
移动开发 时间:
2016-11-17 16:06:38
阅读次数:
262
Android 并发第五篇
本篇会讲解如何利用 HandlerThread 实现异步操作。HandlerThread 本身其实就是一个 Thread ,但是其内部还利用 Handler 机制。
对于...
分类:
移动开发 时间:
2016-11-17 14:07:49
阅读次数:
2914
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same repeat ...
分类:
其他好文 时间:
2016-11-17 08:01:53
阅读次数:
138
1:使用stat命令查看一个文件的访问时间(Access)、修改时间(modify)、状态改变时间(Change)#statindex.php2:批量解压.tar.gz方法1:#fortarin*.tar.gz;dotarzxvf$tar;done方法2:#ls*.tar.gz|xargs-itarzxvf{}3:查看根目录下大于1G的文件#find/-size+1024M4:查看服务器IP..
分类:
系统相关 时间:
2016-11-17 02:25:21
阅读次数:
227
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.(Medium) For example:Given the below binary tree ...
分类:
其他好文 时间:
2016-11-17 01:12:01
阅读次数:
117
打算写个小demo,在引入一个routes文件时,一直提示Error: Cannot find module('./routes')的错误,经过一番了解。 如果要把整个文件夹下所有的模块都引进来 var routes = require('./routes')这时express会默认的去读取文件下的 ...
分类:
其他好文 时间:
2016-11-17 00:23:06
阅读次数:
261
生病了好蓝过啊,哎还是家里好,生病都不能码代码了TAT…… 下面是题目: Write a program to find the topological order in a digraph. Format of functions: where LGraph is defined as the f ...
分类:
其他好文 时间:
2016-11-16 22:18:25
阅读次数:
644