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 ...
                            
                            
                                分类:
其他好文   时间:
2014-06-29 14:39:10   
                                阅读次数:
268
                             
                         
                    
                        
                            
                            
                                /** * Utility function for retrieving the text 
value of an array of DOM nodes * @param {Array|Element} elem */ getText = 
Sizzle.getTex...
                            
                            
                                分类:
Web程序   时间:
2014-06-07 03:37:39   
                                阅读次数:
240
                             
                         
                    
                        
                            
                            
                                题意:computing a max-spacingk-clustering.spacing 是指两个 
cluster 之间的最小距离输入:[number_of_nodes][edge 1 node 1] [edge 1 node 2] [edge 1 
cost][edge 2 node 1] [e...
                            
                            
                                分类:
其他好文   时间:
2014-05-29 20:40:30   
                                阅读次数:
323
                             
                         
                    
                        
                            
                            
                                题目链接从代码的健壮性考虑, 
应该顾及到把数字翻转后发生溢出的情况,但是此题中并没有这种测试数据。附上代码: 1 class Solution { 2 public: 3 int 
reverse(int x) { 4 int tmp = abs(x); 5 i...
                            
                            
                                分类:
其他好文   时间:
2014-05-29 00:26:22   
                                阅读次数:
243
                             
                         
                    
                        
                            
                            
                                原文地址:http://reverse.put.as/2012/02/02/anti-disassembly-obfuscation-1-apple-doesnt-follow-their-own-mach-o-specifications/当想到这个特性时,我非常高兴!因为我喜欢突破束缚,并且写了...
                            
                            
                                分类:
移动开发   时间:
2014-05-28 10:01:12   
                                阅读次数:
353
                             
                         
                    
                        
                            
                            
                                上一篇文章在使用持续动作过程中遇到不少问题,以获取动作类的反系动作尤为突出。所以今天把动作类找了个遍,先将大部分动作类是否实现reverse方法总结如下: 
T表示实现F表示没有实现。 观察可以发现带To的方法都没有实现而By都是先了该方法,不知道引擎设计者这样设计的原因。
                            
                            
                                分类:
其他好文   时间:
2014-05-28 00:08:35   
                                阅读次数:
262
                             
                         
                    
                        
                            
                            
                                Windows Server Failover Clustering is a high 
availability platform that is constantly monitoring the network connections and 
health of the nodes in a ...
                            
                            
                                分类:
其他好文   时间:
2014-05-27 23:48:23   
                                阅读次数:
550
                             
                         
                    
                        
                            
                            
                                下面是反转一个链表的两种方法:
一、循环算法
// //反转一个链表,循环算法
// LinkList Reverse(LinkList& head)
// {
// //  if(!head)
// //   return head;
//  //此时不用判断head是否为空,如是空的话返回的也是空
//  LinkList cur = head;
//  LinkList hou;
//...
                            
                            
                                分类:
其他好文   时间:
2014-05-26 03:20:47   
                                阅读次数:
211
                             
                         
                    
                        
                            
                            
                                You are given two linked lists representing two non-negative numbers. The digits are
 
stored in  reverse order and each of their nodes contain a single digit. Add the two numbers
 
and return i...
                            
                            
                                分类:
其他好文   时间:
2014-05-25 21:36:52   
                                阅读次数:
268
                             
                         
                    
                        
                            
                            
                                http://poj.org/problem?id=3013
题意:
Because of a technical difficulty, price of an edge will be (sum of weights of all descendant nodes) × (unit price of the edge).这句话一直没看懂。后面还以为是最小生成树。
正确...
                            
                            
                                分类:
其他好文   时间:
2014-05-24 20:27:13   
                                阅读次数:
266