Search in Rotated Sorted Array II
Total Accepted: 18500 Total
Submissions: 59945My Submissions
Follow up for "Search in Rotated Sorted Array":
What if duplicates are allowed?
Would this...
分类:
其他好文 时间:
2014-10-10 21:35:14
阅读次数:
239
Search in Rotated Sorted Array II
Total Accepted: 18488 Total
Submissions: 59914My Submissions
Follow up for "Search in Rotated Sorted Array":
What if duplicates are allowed?
Would this...
分类:
其他好文 时间:
2014-10-10 17:26:24
阅读次数:
122
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-10-10 16:26:13
阅读次数:
141
HTTP/2: The Long-Awaited SequelThursday, October 9, 2014 2:01 AM6Ready to speed things up?Here at Microsoft, we’re rolling out support in Internet Exp...
分类:
其他好文 时间:
2014-10-10 00:57:23
阅读次数:
259
Technorati Tags:wpf,thumbnails,image,performance,slow,BitmapImageDuring a recent WPF session I needed to build a ListBox that showed a bunch of images...
分类:
其他好文 时间:
2014-10-10 00:05:33
阅读次数:
299
Two Sum Problem:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indic...
分类:
其他好文 时间:
2014-10-09 23:05:37
阅读次数:
273
题目:ZOJ Problem Set - 2563 Long Dominoes
题意:给出1*3的小矩形,求覆盖m*n的矩阵的最多的不同的方法数?
分析:有一道题目是1 * 2的,比较火,链接:这里
这个差不多,就是当前行的状态对上一行有影响,对上上一行也有影响。所以
定义状态:dp【i】【now】【up】表示在第 i 行状态为now ,上一行状态为 up 时的方案数。
...
分类:
其他好文 时间:
2014-10-09 18:52:47
阅读次数:
159
ctrl+/ 单行注释ctrl+shift+/ 块注释ctrl+shift+ +/- 展开/折叠ctrl+alt+L 格式化代码ctrl+shift+ up/down 上下移动句子Alt+回车 导入包,自动修正Ctrl+N 查找类Ctrl+Shift+N 查找文件Ctrl+Alt+L 格式化代码Ct...
分类:
Web程序 时间:
2014-10-09 18:42:47
阅读次数:
207
在bash的shell下,输入如下命令:#export LC_CTYPE=en_US.UTF-8#!/bin/shexport LC_CTYPE=en_US.UTF-8svn up /home/wwwroot/zj/erp --username "tcy" --password "zj004"htt...
分类:
其他好文 时间:
2014-10-09 16:33:17
阅读次数:
146
android触碰消息传递机制
用户的每次触碰(onClick,onLongClick,onScroll,etc.)都是由一个ACTION_DOWN+n个ACTION_MOVE+1个ACTION_UP组成的,用户触碰必先有个ACTION_DOWN响应,用户触碰结束必然会有个ACTION_UP。(当然如果在途中被拦截,就可能不会有了!)那么View是如何分发消息和拦截消息呢?
1...
分类:
移动开发 时间:
2014-10-09 16:03:28
阅读次数:
334