https://oj.leetcode.com/problems/pascals-triangle/http://blog.csdn.net/linhuanmars/article/details/23311527publicclassSolution{
publicList<List<Integer>>generate(intnumRows){
List<List<Integer>>toReturn=newArrayList<>();
if(nu..
分类:
其他好文 时间:
2015-01-06 18:15:51
阅读次数:
126
https://oj.leetcode.com/problems/pascals-triangle-ii/http://blog.csdn.net/linhuanmars/article/details/23311629publicclassSolution{
publicList<Integer>getRow(introwIndex)
{
//SolutionA:
//returngetRow_OKSpace(rowIndex);
//SolutionB:
returngetRow_Extra..
分类:
其他好文 时间:
2015-01-06 18:15:30
阅读次数:
117
https://oj.leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/http://blog.csdn.net/linhuanmars/article/details/23510601/**
*Definitionforbinarytreewithnextpointer.
*publicclassTreeLinkNode{
*intval;
*TreeLinkNodeleft,right,next;
*TreeLinkN..
分类:
其他好文 时间:
2015-01-06 18:14:12
阅读次数:
118
https://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/http://blog.csdn.net/linhuanmars/article/details/23164149publicclassSolution{
publicintmaxProfit(int[]prices){
//Ifasmanytransactions
//Gready
intpro=0;
intbuy=0;
booleanhold=false;
int..
分类:
其他好文 时间:
2015-01-06 18:13:23
阅读次数:
132
https://oj.leetcode.com/problems/triangle/http://blog.csdn.net/linhuanmars/article/details/23230657publicclassSolution{
publicintminimumTotal(List<List<Integer>>triangle)
{
//SolutionA:
//returnminimumTotal_MaintainSums(triangle);
//SolutionB:..
分类:
其他好文 时间:
2015-01-06 18:12:52
阅读次数:
152
https://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock/http://blog.csdn.net/linhuanmars/article/details/23162793publicclassSolution{
publicintmaxProfit(int[]prices)
{
//SolutionA:
returnmaxProfit_DP(prices);
//SolutionB:
//returnmaxProfit_Binary(..
分类:
其他好文 时间:
2015-01-06 18:11:55
阅读次数:
176
详情见
https://coding.net/u/qidizi/p/pan.baidu.com.srt.plugin/git
这里放一张效果图。...
分类:
移动开发 时间:
2015-01-06 18:07:54
阅读次数:
158
低于 4 的 .NET Framework 版本不支持对 x64 进程进行混合模式调试。 这意味着,当您进行调试时,无法从托管代码单步执行到本机代码,也无法从本机代码单步执行到托管代码。
问题解决
更新项目,使其使用 Microsoft .NET Framework 4 或更高版本。
- 或 -
在单独的调试会话中调试托管代码和本机代码。
- 或 -
...
分类:
Web程序 时间:
2015-01-06 18:07:26
阅读次数:
170
这是一个使用JAVA SWING 封装的 日期,日期与时间选择的控件(JDialog).
该工具于2010年已经上传到CSDN资源, 下载地址为:
http://download.csdn.net/detail/monkeyking1987/2534062
现在, 把该小控件的源码也放在了开源 GIT 库 OSCHINA上, 访问地址:
http://git.oschina....
分类:
编程语言 时间:
2015-01-06 18:00:59
阅读次数:
1930
对于应用中图案解锁的功能,使用appium可以很好的完成这个功能。
这里以锁屏时图案解锁为例:
图案设置为:
在该锁屏界面解锁:
获取图案中9个点的坐标时,可以使用sdk tools目录下的hierarchyviewer工具获取。
下面贴上图案解锁的代码:
package com.xuxu.autotest;
import java.net.URL;
imp...
分类:
移动开发 时间:
2015-01-06 17:59:17
阅读次数:
324