https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/Follow up for problem "Populating Next Right Pointers in Each Node".What ...
分类:
其他好文 时间:
2015-03-09 22:27:47
阅读次数:
273
https://leetcode.com/problems/gray-code/The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negati...
分类:
其他好文 时间:
2015-03-09 15:53:12
阅读次数:
194
题目链接:https://leetcode.com/problems/merge-two-sorted-lists/
题目:Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first
two ...
分类:
其他好文 时间:
2015-03-09 11:05:29
阅读次数:
134
题目链接:https://leetcode.com/problems/intersection-of-two-linked-lists/
题目:
Write a program to find the node at which the intersection of two singly linked lists begins.
For example, the followi...
分类:
其他好文 时间:
2015-03-09 11:05:15
阅读次数:
145
题目链接:https://leetcode.com/problems/remove-nth-node-from-end-of-list/
题目:
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1...
分类:
其他好文 时间:
2015-03-09 09:22:54
阅读次数:
167
http://www.spoj.com/problems/OFFSIDE/阅读题。。#include#includeint x,a,b,c,n,m,i;int main(){ while(scanf("%d%d",&n,&m)&&(n+m)){ a=b=c=100000; ...
分类:
其他好文 时间:
2015-03-08 17:02:41
阅读次数:
142
Problem Description
It is well known that AekdyCoin is good at string problems as well as number theory problems. When given a string s, we can write down all the non-empty prefixes of this string....
分类:
编程语言 时间:
2015-03-08 14:21:48
阅读次数:
396
https://oj.leetcode.com/problems/permutations/Given a collection of numbers, return all possible permutations.For example,[1,2,3]have the following pe...
分类:
其他好文 时间:
2015-03-07 16:54:54
阅读次数:
134
在项目中使用Handler时,会出现警告提示,也会在Problems中进行统计和显示,如下图:
把鼠标放在,就会提示This Handler class should be static or leaks might occur,如下:
@SuppressLint("HandlerLeak")
private Handler mHandler = new Handler(...
分类:
其他好文 时间:
2015-03-07 15:42:08
阅读次数:
141
原文:http://lianxu.me/2012/11/10-cocoa-objc-newbie-problems/http://blog.csdn.net/dongdongdongjl/article/details/7794050thread和runloop在以前,开发者根本不太当成一个问题。因...
分类:
其他好文 时间:
2015-03-07 15:29:48
阅读次数:
171