首页 > 2015年12月01日 > 全部分享
leetcode Range Sum Query - Mutable
题目连接https://leetcode.com/problems/range-sum-query-mutable/Range Sum Query - MutableDescriptionGiven an integer arraynums, find the sum of the elements...
分类:其他   时间:2015-12-01 21:03:31    收藏:0  评论:0  赞:0  阅读:263
LeetCode OJ:Jump Game II(跳跃游戏2)
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他   时间:2015-12-01 21:03:21    收藏:0  评论:0  赞:0  阅读:258
leetcode Find Median from Data Stream
题目连接https://leetcode.com/problems/find-median-from-data-stream/Find Median from Data StreamDescriptionMedian is the middle value in an ordered integer...
分类:其他   时间:2015-12-01 21:03:11    收藏:0  评论:0  赞:0  阅读:287
静态嵌套类(Static Nested Class)和内部类(Inner Class)的不同?
答: Static Nested Class是被声明为静态(static)的内部类,它可以不依赖于外部类实例被实例化。而通常的内部类需要在外部类实例化后才能实例化,其语法看起来挺诡异的,如下所示。/*** 扑克类(一副扑克)* @author 骆昊**/public class Poker { p....
分类:其他   时间:2015-12-01 21:03:01    收藏:0  评论:0  赞:0  阅读:269
Consumer
DescriptionFJ is going to do some shopping, and before that, he needs some boxes to carry the different kinds of stuff he is going to buy. Each box is...
分类:其他   时间:2015-12-01 21:02:51    收藏:0  评论:0  赞:0  阅读:212
AWS-CDH5.5安装-安装
1.安装MySQL[root@ip-172-31-30-175 mysql]# rpm -ivh MySQL-server-5.6.27-1.el6.x86_64.rpm MySQL-client-5.6.27-1.el6.x86_64.rpm warning: MySQL-server-5.6.2...
分类:其他   时间:2015-12-01 21:02:41    收藏:0  评论:0  赞:0  阅读:553
java web简单权限管理设计
一套最基本的权限管理包括用户、角色、资源。数据库设计我的设计如下:用户:user角色:role用户-角色:user_role资源:resource(包括上级菜单、子菜单、按钮等资源)角色-资源:role_resource标准的权限管理系统设计为以上5张表。注:用户、用户-角色我就不做说明了,这两个是...
分类:编程语言   时间:2015-12-01 21:02:31    收藏:0  评论:0  赞:0  阅读:550
JDBC--数据库连接池
1、在使用开发基于数据库的web程序时,传统的模式是现在主程序中简历数据库连接,当进行完sql操作之后断开数据库连接。这种模式存在一些问题:--普通的JDBC数据库连接使用DRiverManager来获取,每次向数据库建立连接的时候都要将Connection加载到内存中,再验证用户名和密码。需要数据...
分类:数据库技术   时间:2015-12-01 21:02:21    收藏:0  评论:0  赞:0  阅读:340
分享我设计的iOS项目目录结构
公司新项目就要着手研发了,希望能为这个项目多准备点知识。回想自己做过的项目,目录结构的划分总不如我的心意,有些目录命名不规范导致表达不明确,有些目录因为不具有代表性,导致在实际中不能充分发挥作用,导致随意添加目录,使得目录层次更复杂。因此今天着手设计一个语义更加明前,分层更加清晰的,又具有iOS.....
分类:移动平台   时间:2015-12-01 21:02:11    收藏:0  评论:0  赞:0  阅读:229
[LeetCode]Same Tree
题目描述:(链接)Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally ide...
分类:其他   时间:2015-12-01 21:02:01    收藏:0  评论:0  赞:0  阅读:284
Cookie
1、判断前台的请求方式 Request.HttpMethod.ToLower()="";2、创建Cookie(键值对的方式) HttpCookie cookie=new httpCookie("cookie名",值);3、设置cookie的过期时间 cookie.Expires=DateTime.....
分类:其他   时间:2015-12-01 21:01:41    收藏:0  评论:0  赞:0  阅读:230
用dygraphs图表分析xdebug的trace结果
2015年12月1日 19:44:23注: 本文用到的js图表库:dygraphs (400k, 没有太多主题, 不像highchart(42M), echarts(24M), 这里仅分析数据用) jschart.js虽然还小, 但是速度太慢太慢........测试数据量 19108个数据点先上效果...
分类:其他   时间:2015-12-01 21:01:31    收藏:0  评论:0  赞:0  阅读:330
leetcode Minimum Height Trees
题目连接https://leetcode.com/problems/minimum-height-trees/Minimum Height TreesDescriptionFor a undirected graph with tree characteristics, we can choose ...
分类:其他   时间:2015-12-01 21:01:02    收藏:0  评论:0  赞:0  阅读:272
CentOS 5.x 多个ISO文件 安装方法(VMware)
CentOS下载地址:http://mirror.centos.org/centos/CentOS版本:5.11VMware版本:11.1.0CentOS 5.11有两个ISO:CentOS-5.11-i386-bin-DVD-1of2.isoCentOS-5.11-i386-bin-DVD-2of...
分类:系统服务   时间:2015-12-01 21:00:31    收藏:0  评论:0  赞:0  阅读:891
第二章 Java语言基础(1)
2-1 数据类型赋值 public class Assign { public static void main (String args [] ) { int x , y ; //定义x,y两个整型变量 float z = 1.234f ; //指定变量z为float型,且赋...
分类:编程语言   时间:2015-12-01 21:00:21    收藏:0  评论:0  赞:0  阅读:292
linux sed命令详解
http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2856901.htmlsed 是一种在线编辑器,它一次处理一行内容。处理时,把当前处理的行存储在临时缓冲区中,称为“模式空间”(pattern space),接着用sed命令处理缓冲区中的内容,...
分类:系统服务   时间:2015-12-01 21:00:01    收藏:0  评论:0  赞:0  阅读:262
android117 下拉列表
分类:移动平台   时间:2015-12-01 20:59:51    收藏:0  评论:0  赞:0  阅读:282
HTML--表格与表单
一、表格表格 width:宽度。可以用像素或百分比表示。常用960像素。 border:边框,常用值为0。 cellpadding:内容跟边框的距离,常用值为0。 cellspacing:单元格与单元格之间的间距,常用值为0。 algin:对齐方式。 bgcolor:背景色。 back...
分类:Web开发   时间:2015-12-01 20:59:41    收藏:0  评论:0  赞:0  阅读:282
Linux Weblogic 数据源 TimesTen配置
[wzh@localhost middleware]$ vi wlserver_10.3/common/bin/commEnv.sh【Linux】 LD_LIBRARY_PATH=${PATCH_LIBPATH}:${LD_LIBRARY_PATH}:/home/wzh/TimesTen/tt112...
分类:Web开发   时间:2015-12-01 20:59:21    收藏:0  评论:0  赞:0  阅读:358
chmod u+x 脚本文件
[root@ossec-server Shell]# chmod u+x whologged.sh解释:chmod:改变权限u:文件所有用户+x: 增加可执行权限[root@ossec-server Shell]# ls -l whologged.sh-rwxr--r--. 1 root root ...
分类:其他   时间:2015-12-01 20:59:11    收藏:0  评论:0  赞:0  阅读:306
1785条   上一页 1 ... 14 15 16 17 18 ... 90 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!