码迷,mamicode.com
首页 >  
搜索关键字:upper    ( 2194个结果
leetcode[163]Missing Ranges
Given a sorted integer array where the range of elements are [lower,upper] inclusive, return its missing ranges.For example, given[0, 1, 3, 50, 75],lo...
分类:其他好文   时间:2015-02-08 23:10:57    阅读次数:290
数据库系列之查询(2)
字符串函数 1 LEN 返回指定字符串的字符个数(而不是字节),其中不包含尾随空格 SELECT LEN('李丽然作者') --返回:5 2 UPPER 将小写字符转换成大写字符 SELECT UPPER('book图书表') --返回:BOOK图书表 3 LTRIM 返回去掉左侧空格的字符串 .....
分类:数据库   时间:2015-02-07 17:14:18    阅读次数:212
leetcode[163]Missing Ranges
Given a sorted integer array where the range of elements are [lower,upper] inclusive, return its missing ranges.For example, given[0, 1, 3, 50, 75],lo...
分类:其他好文   时间:2015-02-06 21:46:55    阅读次数:232
[LeetCode]58.Length of Last Word
Given a string s consists of upper/lower-case alphabets and empty space characters ’ ‘, return the length of last word in the string.If the last word does not exist, return 0.Note: A word is defined...
分类:其他好文   时间:2015-02-06 18:53:14    阅读次数:146
Lintcode: Compare Strings
Compare two strings A and B, determine whether A contains all of the characters in B.The characters in string A and B are all Upper Case letters.Examp...
分类:其他好文   时间:2015-02-05 07:03:49    阅读次数:311
Length of Last Word
Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word doe...
分类:其他好文   时间:2015-02-03 14:37:44    阅读次数:128
[leetcode] Length of Last Word
Length of Last Word  Total Accepted: 32811 Total Submissions: 113876My Submissions Question  Solution  Given a string s consists of upper/lower-case alphabets and empty space charact...
分类:其他好文   时间:2015-02-01 16:12:14    阅读次数:148
【leetcode】Length of Last Word
前段时间忙数据交换,有一个多月没写java了。。找找手感,刷刷题吧。。 去leetcode上挑了个简单的,题目是这样的。 Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the strin...
分类:其他好文   时间:2015-01-31 19:28:22    阅读次数:168
ORA-01653:表空间扩展失败的问题(开启表空间自动扩展)
----查询表空间使用情况---使用DBA权限登陆SELECT UPPER(F.TABLESPACE_NAME) "表空间名",D.TOT_GROOTTE_MB "表空间大小(M)",D.TOT_GROOTTE_MB - F.TOTAL_BYTES "已使用空间(M)",TO_CHAR(ROUND(...
分类:其他好文   时间:2015-01-30 15:26:57    阅读次数:146
UVa 1152 4Values whose Sum is 0
题意  从4个n元集中各挑出一个数  使它们的和为零有多少种方法 直接n^4枚举肯定会超时的  可以把两个集合的元素和放在数组里  然后排序 枚举另外两个集合中两元素和  看数组中是否有其相反数就行了  复杂度为n^2*logn #include #define l(i) lower_bound(s,s+m,i) #define u(i) upper_bound(s,s+m,i) using...
分类:其他好文   时间:2015-01-29 12:47:43    阅读次数:196
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!