首页 > 其他
LeetCode --- 31. Next Permutation
题目链接:Next Permutation Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not possible, it must rearrange it a...
分类:其他   时间:2015-02-04 23:22:46    收藏:0  评论:0  赞:0  阅读:256
LeetCode --- 32. Longest Valid Parentheses
题目链接:Longest Valid Parentheses Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring. For "(()", the longest valid paren...
分类:其他   时间:2015-02-04 23:22:36    收藏:0  评论:0  赞:0  阅读:364
LeetCode --- 33. Search in Rotated Sorted Array
题目链接:Search in Rotated Sorted Array Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). You are given a target value to sear...
分类:其他   时间:2015-02-04 23:22:26    收藏:0  评论:0  赞:0  阅读:304
LeetCode --- 34. Search for a Range
题目链接:Search for a Range Given a sorted array of integers, find the starting and ending position of a given target value. Your algorithm's runtime complexity must be in the order of O(log n). If the...
分类:其他   时间:2015-02-04 23:22:16    收藏:0  评论:0  赞:0  阅读:298
LeetCode --- 35. Search Insert Position
题目链接:Search Insert Position Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You may assume ...
分类:其他   时间:2015-02-04 23:21:36    收藏:0  评论:0  赞:0  阅读:307
[翻译] AJProgressPanel
AJProgressPanelAnimated progress panel可做动画的进度条No images needed, all CoreGraphics code 不需要图片,使用CoreGraphics绘制的图片Works on iPhone and iPad (resolution in...
分类:其他   时间:2015-02-04 23:20:25    收藏:0  评论:0  赞:0  阅读:289
EF查询分页
static List GetPageList(Func whereLambda,Func orderLambda,int pageSize,int pageIndex) where T:class { EFEntities context=new EFEntiti...
分类:其他   时间:2015-02-04 23:20:15    收藏:0  评论:0  赞:0  阅读:318
hadoop完全分布式安装
1、安装环境是vmware workstation10.0模拟出三个虚拟节点,每一个节点安装Ubuntu12.04 LTS操作系统,主机名分别是hadoop1、hadoop2以及hadoop3.同时在每一个节点安装好java。安装方法同之前介绍的伪分布式安装方法一样。2、接着是对三个节点的hosts...
分类:其他   时间:2015-02-04 23:20:05    收藏:0  评论:0  赞:0  阅读:364
批处理之批量修改目录名
今天因为测试需要,要把一百多个case进行重命名,当然内容和case名相对应的也要改,不过之前有同事已经做过这部分的自动化处理,可以用java实现。那么现在问题就是如何把这一百多个case重命名了。要手动,也挺快,一百多个。可是,有必要吗?重命名是有命令的,ren a b而且case本身和重命名后都...
分类:其他   时间:2015-02-04 23:19:55    收藏:0  评论:0  赞:0  阅读:489
黑马程序员----结构体
------- android培训、java培训、期待与您交流! ----------结构体(构造类型)结构体和数组的区别:数组:只能由多个相同类型的数据构成;结构体:可以有多个不同类型的数据构成;一、结构体的定义:(2步)1.定义结构体类型struct Person{ // 里面的3各变量,可以称...
分类:其他   时间:2015-02-04 23:19:17    收藏:0  评论:0  赞:0  阅读:342
45_自定义类加载器的编写原理分析
自定义类加载器的编写原理分析
分类:其他   时间:2015-02-04 23:19:05    收藏:0  评论:0  赞:0  阅读:328
编程中检查IIS7组件的安装情况
http://learn.iis.net/page.aspx/135/discover-installed-components/说明:ASP.NET网络应用程序在IIS7上部署的时候,经常会要求预装某些组件(特别是IIS6的兼容组件),上文即描述了如何通过编程的方法确定各个组件是否已经安装。Dis...
分类:其他   时间:2015-02-04 23:18:55    收藏:0  评论:0  赞:0  阅读:674
开启IIS,“出现错误,并非所有功能被成功更改”
环境:Windows7 Ultimate事件:测试需要,要在自己的计算机上搭建临时IIS,在打开或关闭windows功能里,开启了相关组件及功能,确定应用后提示“出现错误,并非所有功能被成功更改”。解决:网上查阅相关资料后,众说纷纭。后来在一小哥文章中提及到与权限相关。甚至在http://www.o...
分类:其他   时间:2015-02-04 23:18:25    收藏:0  评论:0  赞:0  阅读:962
源码分享!!!world文档转换为JPG图片
http://bbs.csdn.net/topics/390055515——————————————————————————————————————————————————基本思路是:先将world转换为pdf,,在将pdf转换为JPG。。然后清空缓存,,删除PDF文件!!WordToPDF1.ja...
分类:其他   时间:2015-02-04 23:18:06    收藏:0  评论:0  赞:0  阅读:395
一份可运行的求职说明(概念版)
图片版: 文字版: 1 function IWill(){}; 2 IWill.prototype.MyAgree=[ 3 "长期的合作", 4 "有能力和可靠的员工", 5 "善于学习,善于解决问题的员工", 6 "合理的薪酬和制度", 7 "理性,可建议可...
分类:其他   时间:2015-02-04 23:17:45    收藏:0  评论:0  赞:0  阅读:269
黑马程序员----数据类型总结
------- android培训、java培训、期待与您交流! ----------一、基本数据类型1.intlong int == long 8个字节 %ldlong long int == long long 8个字节 %lldshort int == short 8个字节 %d %iunsi...
分类:其他   时间:2015-02-04 23:17:15    收藏:0  评论:0  赞:0  阅读:299
单例模式(Singleton)Holder
public class Singleton { /** * 类级的内部类,也就是静态的成员式内部类,该内部类的实例与外部类的实例 * 没有绑定关系,而且只有被调用到才会装载,从而实现了延迟加载 */ private static class SingletonH...
分类:其他   时间:2015-02-04 23:17:06    收藏:0  评论:0  赞:0  阅读:398
initMethod 和 afterPropertiesSet 以及 AwareMethod方法的执行时机
在spring开发中,我们定义bean经常会需要用到beanFactory对象,这就需要实现BeanFactoryAware这种类型的接口,它有一个setBeanFactory方法在xml中配置bean 的时候,我们也可以指定initMethod方法在bean类定义的时候可以实现Initializi...
分类:其他   时间:2015-02-04 23:16:56    收藏:0  评论:0  赞:0  阅读:450
1380 没有上司的舞会
1380 没有上司的舞会时间限制: 1 s空间限制: 128000 KB题目等级 : 钻石 Diamond题解题目描述Description Ural大学有N个职员,编号为1~N。他们有从属关系,也就是说他们的关系就像一棵以校长为根的树,父结点就是子结点的直接上司。每个职员有一个快乐指数。现在有.....
分类:其他   时间:2015-02-04 23:16:35    收藏:0  评论:0  赞:0  阅读:328
分页帮助类
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Ajax.CRUD.Utility{ public static class PagerHelper {...
分类:其他   时间:2015-02-04 23:16:15    收藏:0  评论:0  赞:0  阅读:366
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!