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...
                            
                            
                                分类:
其他   时间:
2015-12-21 07:03:59   
                                收藏:
0  评论:
0  赞:
0  阅读:
185
                             
                    
                        
                            
                            
                                Sort a linked list using insertion sort. 1 public class Solution { 2 public ListNode insertionSortList(ListNode head) { 3 ListNode dummy =...
                            
                            
                                分类:
其他   时间:
2015-12-21 07:03:49   
                                收藏:
0  评论:
0  赞:
0  阅读:
227
                             
                    
                        
                            
                            
                                每周读书笔记链接:第一周:http://www.cnblogs.com/hw00332012/p/4824416.html第二周:http://www.cnblogs.com/hw00332012/p/4842510.html第三周:http://www.cnblogs.com/hw00332012...
                            
                            
                                分类:
其他   时间:
2015-12-21 07:03:39   
                                收藏:
0  评论:
0  赞:
0  阅读:
232
                             
                    
                        
                            
                            
                                Angualr 1.4:.directive('counter', function counter() { return { scope: {}, restrict: 'EA', transclude: true, bindToController: { cou...
                            
                            
                                分类:
Web开发   时间:
2015-12-21 07:03:29   
                                收藏:
0  评论:
0  赞:
0  阅读:
204
                             
                    
                        
                            
                            
                                题目:Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k the...
                            
                            
                                分类:
其他   时间:
2015-12-21 07:03:09   
                                收藏:
0  评论:
0  赞:
0  阅读:
235
                             
                    
                        
                            
                            
                                基于Spring + Spring MVC + Mybatis 高性能web构建一直想写这篇文章,前段时间 痴迷于JavaScript、NodeJs、AngularJs,做了大量的研究,对前后端交互有了更深层次的认识。今天抽个时间写这篇文章,我有预感,这将是一篇很详细的文章,详细的配置,详细的注释,...
                            
                            
                                分类:
编程语言   时间:
2015-12-21 07:02:59   
                                收藏:
0  评论:
0  赞:
0  阅读:
1665
                             
                    
                        
                            
                            
                                发表于:http://www.ballooncat.com/scrapy-setup.html最近在深入折腾scrapy,先放出环境搭建教程一枚,随后放出更多关于scrapy配置,扩展方面的教程.教程为beta版,部分细节在实际环境中可能会有出入.前言:1.系统centos5.5,默认安装了pyth...
                            
                            
                                分类:
其他   时间:
2015-12-21 07:02:49   
                                收藏:
0  评论:
0  赞:
0  阅读:
224
                             
                    
                        
                            
                            
                                注意:以下函数都包含在ctype.h头文件中1.isalpha函数 用来判断得到的参数是不是字母 1 #include 2 #include 3 4 int main () 5 { 6 /* 7 isalpha函数用来检测数值是否为大小写字母 返回值分为三种 8 1.大写字...
                            
                            
                                分类:
其他   时间:
2015-12-21 07:02:29   
                                收藏:
0  评论:
0  赞:
0  阅读:
238
                             
                    
                        
                            
                            
                                题目: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 ...
                            
                            
                                分类:
其他   时间:
2015-12-21 07:02:19   
                                收藏:
0  评论:
0  赞:
0  阅读:
224
                             
                    
                        
                            
                            
                                题目:Givennballoons, indexed from0ton-1. Each balloon is painted with a number on it represented by arraynums. You are asked to burst all the balloons. ...
                            
                            
                                分类:
其他   时间:
2015-12-21 07:01:59   
                                收藏:
0  评论:
0  赞:
0  阅读:
1424
                             
                    
                        
                            
                            
                                盒模型,就是浏览器为每一个 HTML 元素生成的矩形盒子,这些盒子按照可见版式模型在页面上排布。可见的页面版式由三个属性控制:position、display、float。 position,控制页面上元素间的关系。 display,控制元素是堆叠、并排显示呢?还是隐藏不可见? float,提...
                            
                            
                                分类:
其他   时间:
2015-12-21 07:01:49   
                                收藏:
0  评论:
0  赞:
0  阅读:
221
                             
                    
                        
                            
                            
                                MicrosoftInternetExplorer402DocumentNotSpecified7.8 磅Web0一、適用場合1.C#WindowsForms等窗體開發技術的控件名稱縮寫;2.強行縮寫駝峰命名法(Camel-Case)、帕斯卡命名法的英文的時候;3.網友的評論。二、命名規則1.首字母...
                            
                            
                                分类:
其他   时间:
2015-12-21 07:01:39   
                                收藏:
0  评论:
0  赞:
0  阅读:
337
                             
                    
                        
                            
                            
                                ngPluralizeis a directive that displays messages according to en-US localization rules. Person 1: Person 2: Number of People: Without Offset: ...
                            
                            
                                分类:
Web开发   时间:
2015-12-21 07:01:19   
                                收藏:
0  评论:
0  赞:
0  阅读:
519
                             
                    
                        
                            
                            
                                ngMessageFormatcan be installed via npm using the following command:$ npm install angular-message-format --saveangular.module('myApp', ['ngMessageForm...
                            
                            
                                分类:
Web开发   时间:
2015-12-21 07:01:09   
                                收藏:
0  评论:
0  赞:
0  阅读:
508
                             
                    
                        
                            
                            
                                BascsTray.exe,BascsTray进程的详细介绍
                            
                            
                                分类:
系统服务   时间:
2015-12-21 07:00:39   
                                收藏:
0  评论:
0  赞:
0  阅读:
145
                             
                    
                        
                            
                            
                                差不多我常常并不是用全部的工具来完成设计和动画,有些工具通常是单独地工作。蝴蝶是仅仅使用Flash的变换工具的一个完美的简单实例。扭曲工具完美地改变形状的透视,例如蝴蝶的翅膀。它比用手工去画翅膀的每个角度的形状更节省时间。当使用正确的工具进行正确的工作的
                            
                            
                                分类:
设计   时间:
2015-12-21 07:00:35   
                                收藏:
0  评论:
0  赞:
0  阅读:
246
                             
                    
                        
                            
                            
                                UISegmentedControl是开发中经常会使用到,所以刚刚在学习的时候也重点的看了下该控件
进度条和滑动条一半很少会使用到(下载的时候会经常使用到该属性),android的进度条和滑动的设置比ios复杂很多
?
先上图
?
?
1,进度条
?
    /**进度条的使用
     1.创建UIProGressView对象
     2,创建定时器
     3,将定时 ...
                            
                            
                                分类:
其他   时间:
2015-12-21 02:08:36   
                                收藏:
0  评论:
0  赞:
0  阅读:
626
                             
                    
                        
                            
                            
                                mac上的mysql突然启动不了,之前安装时又不见mysql的初始化的密码,折腾了好久,还没解决这两个问题,最后来一招简单粗暴的。重装mysql:
?
1. ? sudo rm /usr/local/mysql ? ? ?(这一步: 必须的)
2. ?sudo rm -rf /usr/local/mysql* ??(这一步: 必须的)
3 ?sudo rm -rf /Libr ...
                            
                            
                                分类:
数据库技术   时间:
2015-12-21 02:07:46   
                                收藏:
0  评论:
0  赞:
0  阅读:
863
                             
                    
                        
                            
                            
                                <?php
 /**
 * 助手类
 * @author www.shouce.ren
 *
 */
 class Helper
 {
    /**
     * 判断当前服务器系统
     * @return string
     */
    public static function getOS(){
        if(PATH_SEPARATO ...
                            
                            
                                分类:
Web开发   时间:
2015-12-21 02:07:21   
                                收藏:
0  评论:
0  赞:
0  阅读:
304
                             
                    
                        
                            
                            
                                通常,为了提高网站响应速度,总是把热点数据保存在内存中而不是直接从后端数据库中读取。Redis是一个很好的Cache工具。大型网站应用,热点数据 ...
                            
                            
                                分类:
其他   时间:
2015-12-21 02:06:56   
                                收藏:
0  评论:
0  赞:
0  阅读:
382