码迷,mamicode.com
首页 >  
搜索关键字:tno    ( 1068个结果
143. Reorder List
class Solution {public: void reorderList(ListNode* head) { ListNode *head1 = head, *head2 = NULL; int len = 0, count = 1; while(head) { //遍历链表 head = ...
分类:其他好文   时间:2017-10-27 02:01:33    阅读次数:210
83. Remove Duplicates from Sorted List
Given a sorted linked list, delete all duplicates such that each element appear only once. For example,Given 1->1->2, return 1->2.Given 1->1->2->3->3, ...
分类:其他好文   时间:2017-10-25 15:15:37    阅读次数:148
Zookeeper安装与配置
一、Zookeeper的搭建方式Zookeeper的安装方式有三种,单机模式、集群模式、伪集群模式单机模式:zookeeper只运行在一台服务器上,适合测试环境。伪集群模式:一台物理机上运行多个zookeeper实例;集群模式:Zookeeper运行于一个集群上,适合生产环境,这个计算机集群被称之为... ...
分类:移动开发   时间:2017-10-25 11:34:46    阅读次数:199
203. Remove Linked List Elements 删除链表中val
203. Remove Linked List Elements Remove all elements from a linked list of integers that have value val. ExampleGiven: 1 --> 2 --> 6 --> 3 --> 4 --> 5 ...
分类:其他好文   时间:2017-10-24 20:53:45    阅读次数:190
141. Linked List Cycle
Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space? 题目含义:判断一个列表是否有环路 ...
分类:其他好文   时间:2017-10-24 17:18:47    阅读次数:142
ORACLE建立物化视图
--使用 on commit 的方式建立物化视图 create materialized view emp_dept refresh on commit as select t.*,d.dname from emp t , dept d where t.deptno = d.deptno; --使用... ...
分类:数据库   时间:2017-10-22 00:15:14    阅读次数:281
JAVA获取当前系统时间System.currentTimeMillis()
System.currentTimeMillis()产生一个当前的毫秒,这个毫秒其实就是自1970年1月1日0时起的毫秒数,Date()其实就是相当于Date(System.currentTimeMillis());因为Date类还有构造Date(long date),用来计算long秒与1970年 ...
分类:编程语言   时间:2017-10-20 18:48:32    阅读次数:184
深入了解MyBatis参数
相信很多人可能都遇到过下面这些异常: "Parameter 'xxx' not found. Available parameters are [...]" "Could not get property 'xxx' from xxxClass. Cause: "The expression 'xx ...
分类:其他好文   时间:2017-10-17 17:22:59    阅读次数:228
148. Sort List
class Solution { public ListNode sortList(ListNode head) { if(head==null||head.next==null) return head; ListNode p=head,q=head; while(p.next!=null&&p.... ...
分类:其他好文   时间:2017-10-17 10:02:33    阅读次数:125
Scala类型系统(sudden thought)
http://docs.scala-lang.org/tour/lower-type-bounds.html中有一段代码 文中说这段代码不会通过编译,因为Function1是contravariant 在参数的位置上。看到这里是一个头很多个大的。 However, this program does ...
分类:其他好文   时间:2017-10-16 01:55:01    阅读次数:181
1068条   上一页 1 ... 72 73 74 75 76 ... 107 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!