码迷,mamicode.com
首页 >  
搜索关键字:any    ( 7409个结果
lintcode backpack
Given n items with size A[i], an integer m denotes the size of a backpack. How full you can fill this backpack?注意You can not divide any item into smal...
分类:其他好文   时间:2015-01-14 08:29:24    阅读次数:339
Regular Ex Notes
https://docs.python.org/2/howto/regex.htmlIdentifiers:\d any number\D anything but a number\s space\S anything but a space\w any character\W any...
分类:其他好文   时间:2015-01-14 00:34:01    阅读次数:268
Leetcode:Unique Paths
A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any point ...
分类:其他好文   时间:2015-01-13 22:55:24    阅读次数:195
leetcode 10. Regular Expression Matching
Implement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The...
分类:其他好文   时间:2015-01-13 19:32:58    阅读次数:160
LeetCode--Unique Paths
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any point in time. The robot is trying to reach the ...
分类:其他好文   时间:2015-01-12 16:41:29    阅读次数:144
[LeetCode]Wildcard Matching
Implement wildcard pattern matching with support for '?' and '*'. '?' Matches any single character. '*' Matches any sequence of characters (including the empty sequence). The matching should cover t...
分类:其他好文   时间:2015-01-12 16:39:22    阅读次数:168
swift 中String,Int 等类型使用注意,整理中
swfit中的String和Int是 struct定义的,不同于NSString和NSNumber, 如果想在一个数组中同时包含String和Int,那么这个数组要声明为[Any] 而不是 [AnyObject] , 因为他们不是class!另外,与c中的string和int 不同,swfit中的是...
分类:编程语言   时间:2015-01-12 12:51:15    阅读次数:159
leetcode 【 Copy List with Random Pointer 】 python 实现
题目:A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep co...
分类:编程语言   时间:2015-01-11 17:39:30    阅读次数:178
GitHub:仓库的容量配额限制
原文:https://help.github.com/articles/what-is-my-disk-quota/ What is my disk quota?磁盘配额限制是多少? GitHub doesn't have any set disk quotas. We try to provide abundant storage for all Git repo...
分类:其他好文   时间:2015-01-11 12:25:28    阅读次数:3757
[LeetCode#]
The problem:Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree,...
分类:其他好文   时间:2015-01-11 00:59:13    阅读次数:287
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!