Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2014-06-27 12:48:10
阅读次数:
238
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longes...
分类:
其他好文 时间:
2014-06-27 12:46:45
阅读次数:
238
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.
分类:
其他好文 时间:
2014-06-27 12:18:39
阅读次数:
153
Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with ...
分类:
其他好文 时间:
2014-06-26 19:35:09
阅读次数:
266
使用“VS2013 开发人员命令提示”运行签名工具。转到要签名的文件目录运行命令:```csharpsigntool sign /a 要签名的程序.exe```signtool 的相关命令```csharpUsage: signtool [options] Valid command...
分类:
其他好文 时间:
2014-06-26 18:31:16
阅读次数:
1092
function up_tr(sender) { var tr = $(sender).parent().parent(); var table = tr.parent(); var first = $("tr:first", table); if (tr.html() == first.html(...
分类:
Web程序 时间:
2014-06-26 17:12:58
阅读次数:
267
1、此程序为c++程序2、以下代码可实现手动输入,即去掉代码中的/*...*/注释符,并同时去掉赋值代码段3、源代码#includeusing namespace std;typedef struct{ int weight, parent, lchild, rchild;}HTNode,*Huff...
分类:
其他好文 时间:
2014-06-26 16:54:53
阅读次数:
223
内容选择器[selector_4.html] $("div:contains('John') $("p:empty") $("div:has('p') $("p:parent") 1 2 3 4 5 11 12 13 John Resi...
分类:
其他好文 时间:
2014-06-26 16:27:57
阅读次数:
227
随着语音的快速普及,很多应用都开始增加语音输入功能。下面是一个简单的语音和文字输入的动画切换:
布局文件:
<ViewFlipper
android:id="@+id/viewFlipper1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
...
分类:
其他好文 时间:
2014-06-26 14:27:41
阅读次数:
145
Android常用布局类整理
最近又回头做了一下android的项目,发觉越来越不从心,很多东西都忘了,简单的页面布局也很多写不出来,首先还是先整理一下一些会混淆的概念先
layout_width/layout_height的两种不同的方式
① wrap_content能包裹其中的内容即可
② fill_parent/match_parent 填满父视图的空间
Lin...
分类:
移动开发 时间:
2014-06-26 07:44:46
阅读次数:
337