题目:
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...
                            
                            
                                分类:
其他好文   时间:
2015-03-09 20:58:23   
                                阅读次数:
129
                             
                         
                    
                        
                            
                            
                                There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be ...
                            
                            
                                分类:
其他好文   时间:
2015-03-09 15:52:47   
                                阅读次数:
92
                             
                         
                    
                        
                            
                            
                                这是天津大学2015考研的编程题Problem DescriptionIgnatius likes to write words in reverse way. Given a single line of text which is written by Ignatius, you should ...
                            
                            
                                分类:
其他好文   时间:
2015-03-09 14:17:07   
                                阅读次数:
248
                             
                         
                    
                        
                            
                            
                                Given two strings, find the longest common substring.Return the length of it.NoteThe characters in substring should occur continiously in original str...
                            
                            
                                分类:
其他好文   时间:
2015-03-09 12:17:48   
                                阅读次数:
105
                             
                         
                    
                        
                            
                            
                                题目链接: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
                             
                         
                    
                        
                            
                            
                                A property is not the same thing os a instance variable, you should read a little bit of them, there's plenty of sources in the internet.Summarizing, ...
                            
                            
                                分类:
其他好文   时间:
2015-03-09 10:48:57   
                                阅读次数:
168
                             
                         
                    
                        
                            
                            
                                Given two strings, find the longest comment subsequence (LCS).Your code should return the length of LCS.ExampleFor "ABCD" and "EDCA", the LCS is "A" (...
                            
                            
                                分类:
其他好文   时间:
2015-03-09 09:20:00   
                                阅读次数:
141
                             
                         
                    
                        
                            
                            
                                Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
                            
                            
                                分类:
其他好文   时间:
2015-03-09 00:24:08   
                                阅读次数:
129
                             
                         
                    
                        
                            
                            
                                今天运行一个场景时候,welcome场景可以旋转,进入主场景后发现只要旋转手机屏幕就会crash。*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UnityDefaultViewController should be used only if unity is se...
                            
                            
                                分类:
编程语言   时间:
2015-03-08 15:45:50   
                                阅读次数:
402
                             
                         
                    
                        
                            
                            
                                Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preserve the origi...
                            
                            
                                分类:
其他好文   时间:
2015-03-08 09:17:20   
                                阅读次数:
169