码迷,mamicode.com
首页 >  
搜索关键字:whether    ( 1481个结果
5个Linux发行版的对比
Ubuntu Whether you are a new user planning to get your first computer, or someone migrating from Windows or Mac OS X, Ubuntu should be your first choice. It’s extremely easy to install and manage; ...
分类:系统相关   时间:2014-12-02 10:36:38    阅读次数:200
linux一键优化(适用于RedHat以及衍生版)
#!/bin/bash#setenvexportLANG="en_US.UTF-8"exportPATH=$PATH:/bin/sbin:/usr/sbin#whetherroottorunninguserif[[$(whoami)!=root]];thenecho"pleasesu-rootrunthescript."fiSERVICE=`whichservice`CHKCONFIG=`whichchkconfig`./etc/init.d/functions#settimeinitTime(){yum-y..
分类:系统相关   时间:2014-12-02 00:25:59    阅读次数:319
【LeetCode】Symmetric Tree (2 solutions)
Symmetric TreeGiven a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric...
分类:其他好文   时间:2014-12-01 14:11:54    阅读次数:218
Palindrome Number 解题报告
Determine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie, -1)If you are thinki...
分类:其他好文   时间:2014-11-30 22:55:07    阅读次数:272
Custom Looks using Qt Style Sheets
With the introduction of Qt Style Sheets, styling Qt widgets has become a lot simpler. Whether you just need to customize the look of an existing widget or design a whole new style from scratch, th...
分类:其他好文   时间:2014-11-30 18:52:50    阅读次数:226
copy 和 strong(或retain)的区别
http://stackoverflow.com/questions/18526909/whether-i-should-use-propertynonatomic-copy-or-propertynonatomic-strong-fo'copy' will cause the setter for...
分类:其他好文   时间:2014-11-27 15:47:21    阅读次数:193
LeetCode[Tree]: Symmetric Tree
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). Recursive Algorithm class Solution { public: bool isSymmetric(TreeNode *root) { return ...
分类:其他好文   时间:2014-11-27 09:18:04    阅读次数:176
[LeetCode] 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? (i...
分类:其他好文   时间:2014-11-27 06:44:59    阅读次数:215
[LeetCode]Interleaving String
Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example, Given: s1 = "aabcc", s2 = "dbbca", When s3 = "aadbbcbcac", return true. When s3 = "aadbbbaccc", ret...
分类:其他好文   时间:2014-11-24 10:16:50    阅读次数:182
Leetcode-Interleaving String
Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example,Given:s1 = "aabcc",s2 = "dbbca",When s3 = "aadbbcbcac", retu...
分类:其他好文   时间:2014-11-24 06:25:09    阅读次数:150
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!