Given two strings s and t, write a function to determine if t is an anagram of s. For example,s = "anagram", t = "nagaram", return true.s = "rat", t = ...
分类:
其他好文 时间:
2016-06-27 21:48:22
阅读次数:
153
#define OBJ_IS_NIL(s) (s==nil || [s isKindOfClass:[NSNull class]]) #define Number_IS_VALID(s) ([s isKindOfClass:[NSValue class]]) ...
分类:
移动开发 时间:
2016-06-27 17:36:27
阅读次数:
151
错误提示:-bash:export:`/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bi
n‘:notavalididentifier表示export系统变量时语法错误,会导致linux命令找不到,不能正常使用
分类:
系统相关 时间:
2016-06-27 12:25:08
阅读次数:
200
Typical binary search.. but take care of data overflow if you are using C++ ...
分类:
其他好文 时间:
2016-06-27 12:03:52
阅读次数:
112
Given a positive integer num, write a function which returns True if num is a perfect square else False. Note: Do not use any built-in library functio ...
分类:
编程语言 时间:
2016-06-27 11:51:04
阅读次数:
196
Given a positive integer num, write a function which returns True if num is a perfect square else False. Note: Do not use any built-in library functio ...
分类:
其他好文 时间:
2016-06-27 10:20:24
阅读次数:
184
题目: Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A man, a plan, a canal: ...
分类:
其他好文 时间:
2016-06-25 12:17:47
阅读次数:
171
一天一道LeetCode
本系列文章已全部上传至我的github,地址:ZeeCoder‘s Github
欢迎大家关注我的新浪微博,我的新浪微博
欢迎转载,转载请注明出处
(一)题目
Given a binary tree, determine if it is a valid binary search tree (BST).
Assume a BST is def...
分类:
其他好文 时间:
2016-06-24 15:39:57
阅读次数:
147
$("#form_user_input") .bootstrapValidator( { message : 'This value is not valid', excluded : [':disabled'],//[':disabled', ':hidden', ':not(:visible)' ...
分类:
其他好文 时间:
2016-06-24 12:22:06
阅读次数:
181