码迷,mamicode.com
首页 > 其他好文 > 日排行
timer 在滚动的时候停止了的解决办法
方法一:-(void) viewDidLoad{[self performSelectorInBackground:@selector(call1) withObject:nil];}-(void) call1{timer1 = [NSTimer scheduledTimerWithTimeInte...
分类:其他好文   时间:2014-06-04 20:23:05    阅读次数:228
Remove Duplicates from Sorted List II
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving onlydistinctnumbers from the original list.For example,Given1->2->3-...
分类:其他好文   时间:2014-06-04 20:19:49    阅读次数:282
URAL 1073 Square Country(DP)
题目链接题意 :这个人要投资地,每块地都是正方形并且边长都是整数,他希望他要买的地尽量的少碎块。每买一块地要付的钱是边长的平方,而且会得到一个一份证书,给你一个钱数,让你求出能得到的证书个数。思路 :其实就是求x12+x22+……+Xn2中的最小的n。 1 //1073 2 #include 3 ....
分类:其他好文   时间:2014-06-04 20:21:14    阅读次数:292
Valid Sudoku
Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with ...
分类:其他好文   时间:2014-06-04 20:21:51    阅读次数:246
InstallShield打包问题
InstallShield打包
分类:其他好文   时间:2014-06-04 20:22:27    阅读次数:393
LeetCode Simplify Path
class Solution {public: string simplifyPath(string path) { int len = path.length(); if (len spath; int p = -1, q = 0; ...
分类:其他好文   时间:2014-06-04 20:15:49    阅读次数:197
UVALive - 2965 Jurassic Remains
Jurassic RemainsTime Limit:18000MSMemory Limit:Unknown64bit IO Format:%lld & %llu[Submit] [Go Back] [Status]DescriptionPaleontologists in Siberia have...
分类:其他好文   时间:2014-06-04 20:16:27    阅读次数:384
Search in Rotated Sorted Array II
Follow up for "Search in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?Write a function to...
分类:其他好文   时间:2014-06-04 20:17:05    阅读次数:249
maven学习心得
心得:这几天一直在研究maven的配置,还真是伤心啊,网上资料不多,而且问题不断.确实很让人头疼背景:之所以学习maven是因为我们需要一键部署,我们项目是已经差不多完成了,是eclipse的web项目,需要将它变成maven项目问题:1.拆分项目为多个模块解决循环依赖如果一个web项目下面有A,B...
分类:其他好文   时间:2014-06-04 20:17:39    阅读次数:224
自动从DataRow里取数据给属性赋值
public abstract class ModelsBase { //自动从DataRow里取数据给属性赋值 public void RightDataFrom(DataRow row) { Type type = this.GetType(); //遍历每一个属性 foreach...
分类:其他好文   时间:2014-06-04 20:18:20    阅读次数:197
Multiply Strings
Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are non-nega...
分类:其他好文   时间:2014-06-04 20:19:04    阅读次数:313
Scramble String
Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representation...
分类:其他好文   时间:2014-06-04 20:11:38    阅读次数:303
Edit Distance
Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol...
分类:其他好文   时间:2014-06-04 20:12:15    阅读次数:199
设计师眼中功能强大的Xcode
作为设计师,不仅要能创造出移动为先的新产品,更要了解能创造出优秀移动作品的工具。这个实现过程可以让我们的设计更加优秀。 过去两个月,我每天在 Xcode 上花费的时间大约有 10 个小时,我学到了很多完全改变我的工作流程的技术。Xcode 是一款成熟的工具包含了很多强有力的但没被经常使用的功能。如....
分类:其他好文   时间:2014-06-04 20:13:00    阅读次数:249
First Missing Positive
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:其他好文   时间:2014-06-04 20:13:41    阅读次数:350
Combination Sum II
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Each number ...
分类:其他好文   时间:2014-06-04 20:14:25    阅读次数:287
Combination Sum
Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated num...
分类:其他好文   时间:2014-06-04 20:15:09    阅读次数:289
Insert Interval
Given a set ofnon-overlappingintervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were initially...
分类:其他好文   时间:2014-06-04 20:10:23    阅读次数:204
发发牢骚
这家公司已经呆了两个月了。出于个人技术不是特别好,找工作时希望能找个团队协作比较好的,至少能照顾一下新来的同事,能在技术上能有多一些的交流。对自己个人技术会有一个大的帮助。至少我个人是这样感觉的。孤军奋战是比较辛苦的,往往一个不是特别难的问题,但对于一个经验不丰富,又苦于百度也找不到答案是最苦恼.....
分类:其他好文   时间:2014-06-04 20:10:59    阅读次数:211
Text Justification
Given an array of words and a lengthL, format the text such that each line has exactlyLcharacters and is fully (left and right) justified.You should p...
分类:其他好文   时间:2014-06-04 20:08:22    阅读次数:296
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!