原题地址:http://oj.leetcode.com/problems/flatten-binary-tree-to-linked-list/题意:Given 
a binary tree, flatten it to a linked list in-place.For example,Given...
                            
                            
                                分类:
编程语言   时间:
2014-05-12 05:30:32   
                                阅读次数:
367
                             
                    
                        
                            
                            
                                凡事皆宜尽力简化,只要不失之草率。everything should be made as 
simple as possible, but not 
simpler.trynottobecomeamanofsuccess,butrather,amanofvalue
                            
                            
                                分类:
其他好文   时间:
2014-05-12 00:06:21   
                                阅读次数:
277
                             
                    
                        
                            
                            
                                /* Endian swapping module.Simple example with 
Avalon streaming interfaces and a CSR busAvalon-ST has readyLatency of 
0Avalon-MM has fixed readLatency ...
                            
                            
                                分类:
其他好文   时间:
2014-05-11 23:21:17   
                                阅读次数:
423
                             
                    
                        
                            
                            
                                C++语言的对象化模型.封装,隐藏内部实现.继承,复用现有代码.多态,改写对象行为本文描述了一个C++实现的继承和多态的场景,然后用C语言编写了一种对等的实现。// 
A typical example of inheritance and virtual function use.// We wou...
                            
                            
                                分类:
编程语言   时间:
2014-05-11 18:03:47   
                                阅读次数:
412
                             
                    
                        
                            
                            
                                2.2 一个简单的插件示例 jQuery 
插件能做任何事情,这个已经由浩如烟海的各类第三方插件如证明。小到只影响一个元素,大到改变多个元素的外观和行为,jQuery 的各种功能等你来扩展。 2.2.1 
占位文本插件 为了维持一个form 的空间,很多时候一个字段的描述往往是省略的,取而代之的是用一个...
                            
                            
                                分类:
Web程序   时间:
2014-05-11 16:14:28   
                                阅读次数:
409
                             
                    
                        
                            
                            
                                Reverse a linked list from positionmton. Do it 
in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 
2 andn= 4,return1->4->3->2->5->NULL.No...
                            
                            
                                分类:
其他好文   时间:
2014-05-11 16:03:43   
                                阅读次数:
327
                             
                    
                        
                            
                            
                                第一步:首先是Widget的定义声明:
在资源文件下的xml文件夹中建立文件example_appwidget_info.xml:
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
    android:initialLayout="@layout/process_widget"
 ...
                            
                            
                                分类:
移动开发   时间:
2014-05-11 04:22:25   
                                阅读次数:
503
                             
                    
                        
                            
                            
                                最近公司项目使用WebService ,这里简单做个总结。
公共接口很多:http://www.webxml.com.cn/zh_cn/index.aspx
这里使用获取天气接口:
直接上代码吧。比较简单,由于时间关系,没有详细做。但是大体上如何使用应该还是可以看的出来。但,还是研究比较深要好点。
项目结构图:
package com.example.ut...
                            
                            
                                分类:
Web程序   时间:
2014-05-11 03:29:20   
                                阅读次数:
534
                             
                    
                        
                            
                            
                                题目
Given a binary tree, find the maximum path sum.
The path may start and end at any node in the tree.
For example:
Given the below binary tree,...
                            
                            
                                分类:
其他好文   时间:
2014-05-11 03:25:24   
                                阅读次数:
298