码迷,mamicode.com
首页 >  
搜索关键字:space    ( 18273个结果
[LintCode] 二叉树的中序遍历
The recursive solution is trivial and I omit it here.Iterative Solution using Stack (O(n)time andO(n)space): 1 /** 2 * Definition of TreeNode: 3 * c.....
分类:其他好文   时间:2015-06-29 19:52:58    阅读次数:121
[LintCode] 二叉树的后序遍历
The recursive solution is trivial and I omit it here.Iterative Solution using Stack (O(n)time andO(n)space): 1 /** 2 * Definition of TreeNode: 3 * c.....
分类:其他好文   时间:2015-06-29 19:33:05    阅读次数:102
Disk Space Checking
OnErrorResumeNextDimfso,DiskDriver,DD,Showfreespace,Totalsizespace,SizePercentDimSendmailPermissionSendmailPermission=0Setfso=wscript.createobject("scripting.filesystemobject")If(fso.folderexists("C:\Disk2"))=FalsethenSetfoldr=fso.createfolder("C:\Disk2")En..
分类:其他好文   时间:2015-06-29 18:04:28    阅读次数:175
[LintCode] 二叉树的前序遍历
The recursive solution is trivial and I omit it here.Iterative Solution using Stack (O(n) time and O(n) space): 1 /** 2 * Definition of TreeNode: 3 .....
分类:其他好文   时间:2015-06-29 16:17:05    阅读次数:106
DevExpress2011控件教程)编辑控件(comboBox,AspxCheckBox) 范例1
DevExpress2011控件教程)编辑控件(comboBox,AspxCheckBox) 范例1 AspxCheckBox 是一个检查编辑控件去展示特殊条件是否关闭或者打开。它通常会展示Yes/No 或者是 True/False 的选择给用户。用户可以通过用鼠标点击编辑控件改变Check状态或者通过按 SPACE键来改变。   2011版本允许有2或3种状态。 ASPxChe...
分类:Web程序   时间:2015-06-29 11:46:57    阅读次数:190
leetcode 9 Palindrome Number 回文数
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints: Could negative integers be palindromes? (ie, -1)If you are thinking of converting the inte...
分类:其他好文   时间:2015-06-28 21:42:54    阅读次数:133
【动态规划/多重背包问题】POJ2392-Space Elevator
方法同POJ1014-Dividing,唯一不同点在于每一种block有最大限定高度a,故要以a为关键字进行排序,使得最大高度小的在前,否则最大高度小的再后可能放不上去。 1 #include 2 #include 3 #include 4 #include 5 #include 6 using.....
分类:其他好文   时间:2015-06-28 20:04:30    阅读次数:105
[LeetCode] Length of Last Word
Well, the basic idea is very simple. Start from the tail ofsand move backwards to find the first non-space character. Then from this character, move b...
分类:其他好文   时间:2015-06-28 16:57:20    阅读次数:108
[leetcode]Word Break
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words. ...
分类:其他好文   时间:2015-06-27 21:27:36    阅读次数:166
ASCII对照表
ASCII值控制字符ASCII值控制字符ASCII值控制字符ASCII值控制字符0NUT32(space)64@96、1SOH33!65A97a2STX34"66B98b3ETX35#67C99c4EOT36$68D100d5ENQ37%69E101e6ACK38&70F102f7BEL39,71G...
分类:其他好文   时间:2015-06-27 21:22:07    阅读次数:113
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!