摘要: 645. Set Mismatch 1.Problem The set S originally contains numbers from 1 to n. But unfortunately, due to the data error, one of the numbers in the set 阅读全文
posted @ 2017-08-23 15:29 起床oO 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 1.String 与 StringBuffer 、 StringBuilder的区别 String是字符串常量,java的字符串不变性,每当用String操作字符串时,实际上实在不断创建新的字符串对象,老的字符串对象经过GC(垃圾回收操作)回收,而使用StringBuilder和StringBuff 阅读全文
posted @ 2017-08-22 17:56 起床oO 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 611. Valid Triangle Number 1.Problem Given an array consists of non-negative integers, your task is to count the number of triplets chosen from the ar 阅读全文
posted @ 2017-08-22 15:17 起床oO 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 测试结果: 阅读全文
posted @ 2017-08-21 18:08 起床oO 阅读(175) 评论(0) 推荐(0) 编辑
摘要: List<List<Integer>> res = new ArrayList<>(); 阅读全文
posted @ 2017-08-21 16:35 起床oO 阅读(157) 评论(0) 推荐(0) 编辑
摘要: JQuery选择器 1.元素选择器 JQuery元素选择器基于元素名选取元素。 2.#id选择器 JQuery#id选择器通过HTML元素的id属性来选择指定的元素 3..class选择器 JQuery.class选择器通过指定的class的来选择指定的元素 4.JQuery选择器总结 阅读全文
posted @ 2017-08-18 17:24 起床oO 阅读(155) 评论(0) 推荐(0) 编辑
摘要: ::运算符 (::)是运算符中等级最高的,作用有三种,都是左关联的,都是为了更明确自己调用的对象或者函数: 阅读全文
posted @ 2017-08-18 10:21 起床oO 阅读(1285) 评论(0) 推荐(0) 编辑
摘要: svn://10.0.0.100/project/Acheron/2.0/SourceCode tailf 命令 http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer web2py 操作数据库中的数据 阅读全文
posted @ 2017-08-17 10:16 起床oO 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 1.ng-disabled 指令设置表单输入字段的 disabled 属性(input, select, 或 textarea)。如果 ng-disabled 中的表达式返回 true 则表单字段将被禁用 2.ng-model指令绑定输入框的值到 scope 变量中 阅读全文
posted @ 2017-08-16 17:23 起床oO 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://www.programcreek.com/2009/02/diagram-to-show-java-strings-immutability/ (图片出处和内容参照) 1.声明一个字符串 2.将一个字符串变量赋给另一个字符串变量 3.字符串的连接 总结 String类的所有方 阅读全文
posted @ 2017-08-16 10:58 起床oO 阅读(361) 评论(0) 推荐(1) 编辑