码迷,mamicode.com
首页 >  
搜索关键字:two points    ( 13225个结果
[leetcode]_Add Two Numbers
题目:两个链表存储数字,然后求和,和值存储在一个链表中。代码: 1 public ListNode addTwoNumbers(ListNode l1, ListNode l2) { 2 ListNode head = new ListNode(0); 3 ListN...
分类:其他好文   时间:2014-06-29 15:15:57    阅读次数:240
LeetCode:Swap Nodes in Pairs
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 ...
分类:其他好文   时间:2014-06-29 14:39:10    阅读次数:268
Leetcode Add Two Numbers
class Solution {public: ListNode *addTwoNumbers(ListNode *l1, ListNode *l2) { ListNode* p = l1; ListNode* q = l2; ListNode* re...
分类:其他好文   时间:2014-06-07 03:50:49    阅读次数:218
Network bonding and teaming
Bonding:Ethernet Channel Bonding enables two or more Network Interfaces Card (NIC) to a single virtual NIC card which may increase the bandwidth and p...
分类:Web程序   时间:2014-06-07 03:38:59    阅读次数:267
leetcode -- Add Binary
Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".class Solution {public: string addBinary(str...
分类:其他好文   时间:2014-05-30 08:39:11    阅读次数:270
Hadoop中两表JOIN的处理方法
http://dongxicheng.org/mapreduce/hadoop-join-two-tables/http://dongxicheng.org/mapreduce/run-hadoop-job-problems/http://dongxicheng.org/mapreduce/hdfs...
分类:其他好文   时间:2014-05-29 12:27:09    阅读次数:260
lsnrctl工具之service
从052之134题看数据库监听服务134、listener service/考察动态注册于静态注册/View the Exhibit and examine the output.Which two statements are true regarding the LISTENER2 listen...
分类:其他好文   时间:2014-05-29 12:23:06    阅读次数:493
mysql官方的HA中间件
mysql官方的HA中间件http://www.mysql.com/products/enterprise/fabric.htmlMySQL Fabric is an extensible framework for managing farms of MySQL Servers. Two feat...
分类:数据库   时间:2014-05-29 10:50:17    阅读次数:695
[CC150] Find a line passing the most number of points
Problem: Given a two-dimensional graph with points on it, find a line which passes the most number of points.此题是Cracking the code 5th edition 第七章第六题,思...
分类:其他好文   时间:2014-05-29 08:10:38    阅读次数:292
LeetCode --- Add Two Numbers
题目链接说来算是个基础题目,可是还是各种CE,各种WA,基础还是不扎实。附上代码: 1 /** 2 * Definition for singly-linked list. 3 * struct ListNode { 4 * int val; 5 * ListNode *ne...
分类:其他好文   时间:2014-05-28 23:56:38    阅读次数:382
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!