码迷,mamicode.com
首页 >  
搜索关键字:should    ( 4948个结果
Single Number II
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:其他好文   时间:2014-07-14 10:01:38    阅读次数:168
android 布局权重问题(最近布局经常坑爹)
android 布局 权重With layout_weight you can specify a size ratio between multiple views. E.g. you have a MapView and a table which should show some additi...
分类:移动开发   时间:2014-07-13 00:31:23    阅读次数:299
LRU Cache
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu...
分类:其他好文   时间:2014-07-11 20:36:27    阅读次数:234
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...
分类:其他好文   时间:2014-07-10 21:21:42    阅读次数:255
CTCI 3.2
How would you design a stack which, in addition to push and pop, also has a function min which returns the minimum element? Push, pop and min should a...
分类:其他好文   时间:2014-07-10 16:45:33    阅读次数:210
[leetcode] LRU Cache
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.
分类:其他好文   时间:2014-07-08 22:54:28    阅读次数:287
how to add borders for a google map marker 谷歌地图 自定义图钉
If you are not satisfied with default Google map Marker (Default google marker can only be a icon, image or shape), for example adding a border, then you should use richmarker! http://google-maps...
分类:其他好文   时间:2014-07-08 17:17:18    阅读次数:386
LeetCode——Regular Expression Matching
Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*' Matches zero or more of the preceding element. The matching should cover the entire input st...
分类:其他好文   时间:2014-07-08 16:57:40    阅读次数:193
【LeetCode】Swap Nodes in Pairs
题目 Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant spac...
分类:其他好文   时间:2014-07-08 13:46:26    阅读次数:205
UITextView in iOS7 doesn't scroll
UITextView in iOS7 has been really weird. As you type and are entering the last line of your UITextView, the scroll view doesn't scroll to the bottom like it should and it causes the text to be "clipp...
分类:移动开发   时间:2014-07-08 11:14:15    阅读次数:225
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!