码迷,mamicode.com
首页 >  
搜索关键字:characters    ( 2378个结果
[leetcode] Text Justification
Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified.
分类:其他好文   时间:2014-07-07 23:16:20    阅读次数:274
Minimum Window Substring
题目 Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). For example, S = "ADOBECODEBANC" T = "ABC" Minimum wi...
分类:Windows程序   时间:2014-06-29 20:38:14    阅读次数:239
[leetcode] Longest Substring Without Repeating Characters
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
LeetCode Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example, "A man, a plan, a canal: Panama" is a palindrome. "race a car" is no...
分类:其他好文   时间:2014-06-27 10:36:41    阅读次数:183
LeetCode 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 d...
分类:其他好文   时间:2014-06-27 10:18:32    阅读次数:151
[Cocos2d-x]Cocos2d-x 3.2 学习笔记
获取屏幕大小(Visible)Size visibleSize = Director::getInstance()->getVisibleSize(); Vec2 origin = Director::getInstance()->getVisibleOrigin(); 打印调试(CCLOG)CCLOG("Characters: %c %c", 'a', 65); CCLOG("Decimals:...
分类:其他好文   时间:2014-06-27 09:36:39    阅读次数:180
Welcome to Swift (苹果官方Swift文档初译与注解十九)---123~132页(第二章..本章节还剩6页)
Working with Characters (与字符相关) 在Swift中,String类型表示一组有序字符的值.每个字符都是一个Unicode符号.可以使用for-in循环来遍历字符串中的每个字符: for character in "Dog!🐶" { println(...
分类:移动开发   时间:2014-06-26 15:56:01    阅读次数:235
LeetCode: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...
分类:其他好文   时间:2014-06-26 13:55:01    阅读次数:179
Leetcode: Longest Valid Parentheses
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.For "(()", the lon...
分类:其他好文   时间:2014-06-25 11:07:45    阅读次数:230
【Leetcode】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...
分类:其他好文   时间:2014-06-25 10:30:08    阅读次数:220
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!