https://oj.leetcode.com/problems/add-binary/http://blog.csdn.net/linhuanmars/article/details/20192227publicclassSolution{
publicStringaddBinary(Stringa,Stringb){
StringBuildersb=newStringBuilder();
char[]charsA=a.toCharArray();
char[]charsB=b.toCharArray(..
分类:
其他好文 时间:
2015-01-04 11:35:00
阅读次数:
156
https://oj.leetcode.com/problems/merge-two-sorted-lists/http://blog.csdn.net/linhuanmars/article/details/19712593/**
*Definitionforsingly-linkedlist.
*publicclassListNode{
*intval;
*ListNodenext;
*ListNode(intx){
*val=x;
*next=null;
*}
*}
*/
publicclassSolu..
分类:
其他好文 时间:
2015-01-04 11:34:49
阅读次数:
147
https://oj.leetcode.com/problems/minimum-path-sum/http://blog.csdn.net/linhuanmars/article/details/22257673publicclassSolution{
publicintminPathSum(int[][]grid){
//Onlymovedownorright.
//Otherwise,-oo
//Validations.
if(grid==null)
return-1;//Invalidinput
..
分类:
其他好文 时间:
2015-01-04 11:34:38
阅读次数:
154
https://oj.leetcode.com/problems/plus-one/http://blog.csdn.net/linhuanmars/article/details/22365957publicclassSolution{
publicint[]plusOne(int[]digits){
if(digits==null||digits.length==0)
returnnull;
booleancarry=true;
for(inti=digits.length-1;i>=0;i--..
分类:
其他好文 时间:
2015-01-04 11:33:38
阅读次数:
130
本文参考:【张鸿洋的博客】http://blog.csdn.net/lmj623565791/article/details/41087219
先上关键的代码
public class ChangeColorIconWithTextView extends View
{
private Bitmap mBitmap;
private Canvas mCanvas;
private Pa...
分类:
微信 时间:
2015-01-04 11:26:12
阅读次数:
451
PHP-ExcelReader是一个基于PHP的开源项目,其作用在于解析excel文件。
PHP-ExcelReader的官方网张如下:
http://phpexcelreader.sourceforge.net/
下载下来的文件结构如下图所示:
其中,Excel目录下的两个文件reader.php和oleread.inc是excel解析必须包含的文件,解析所需要的类与方法分别写在...
分类:
Web程序 时间:
2015-01-04 11:23:40
阅读次数:
165
1. /proc目录Linux 内核提供了一种通过 /proc 文件系统,在运行时访问内核内部数据结构、改变内核设置的机制。proc文件系统是一个伪文件系统,它只存在内存当中,而不占用外存空间。它以文件系统的方式为访问系统内核数据的操作提供接口。用户和应用程序可以通过proc得到系统的信息,并可以....
分类:
Web程序 时间:
2015-01-04 11:20:39
阅读次数:
253
原文网址:http://blog.csdn.net/kobejayandy/article/details/13291525问:我在Windows中通过FTP传一个文本文件到Linux中,但是打开文本文件后每行最后都有^M的标志。由于很长,用编辑器去除太麻烦,有什么解决办法呢?答:为了解决这个问题,...
分类:
系统相关 时间:
2015-01-04 11:20:29
阅读次数:
233
http://code1.okbase.net/codefile/ZedGraphControl.ContextMenu.cs_201211225626_97.htm// //This library is free software; you can redistribute it and/or ...
分类:
其他好文 时间:
2015-01-04 11:14:20
阅读次数:
673
参考:http://homepages.inf.ed.ac.uk/rbf/HIPR2/gsmooth.htmhttp://blog.csdn.net/app_12062011/article/details/27082049
分类:
其他好文 时间:
2015-01-04 11:10:16
阅读次数:
147