码迷,mamicode.com
首页 >  
搜索关键字:definition    ( 2735个结果
Same Tree
/** * Definition for binary tree * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * }; */bool isSameTree(...
分类:其他好文   时间:2015-03-10 22:44:42    阅读次数:144
HDMI介绍与流程
http://www.cnblogs.com/TaigaCon/p/3840653.htmlHDMI,全称为(High Definition Multimedia Interface)高清多媒体接口,主要用于传输高清音视频信号。HDMI引脚: HDMI有A,B,C,D,E五种引脚类型,目前市面中比....
分类:其他好文   时间:2015-03-10 17:13:33    阅读次数:446
LeetCode-Sort List
Sort a linked list in O(n log n) time using constant space complexity.这题的时间复杂度要求是O(n logn),很容易想到用mergeSort来解。/** * Definition for singly-linked list. ...
分类:其他好文   时间:2015-03-09 23:54:04    阅读次数:212
Path Sum
简单递归,但代码简洁性有待提高我的代码/** * Definition for binary tree * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * }...
分类:其他好文   时间:2015-03-09 15:58:27    阅读次数:130
wsdl 结构
WSDL文档可以分为两部分。分别是抽象部分和具体描述 部分。抽象部分 抽象部分以独立于平台和语言的方式定义SOAP消息,它们并不包含任何随 机器或语言而变的元素。、、属于抽象定义 层。具体部分 、属于具体定义层。所有的抽象可以是单独存在于别的文件中,也可以从主文档中导入1. definition.....
分类:其他好文   时间:2015-03-08 18:33:44    阅读次数:120
leetcode_num112_Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. /** * Definition for binary tree * struct Tree...
分类:其他好文   时间:2015-03-08 17:12:04    阅读次数:103
leetcode Sort Listnode
Sort a linked list inO(nlogn) time using constant space complexity.findMiddle: 将listnode 不停的拆分sort: 将拆分好的不同的sortmerge: 将sort好的,向上merge/** * Definition...
分类:其他好文   时间:2015-03-08 07:50:33    阅读次数:128
转 区别 getChildFragmentManager getSupportFragmentManager
The definition ofgetChildFragmentManager()is:Return a private FragmentManager for placing and managing Fragments inside of this Fragment.Meanwhile the...
分类:其他好文   时间:2015-03-06 15:31:01    阅读次数:312
Intersection of Two Linked Lists
编程之美上有这题,先计算这两链表的长度,然后从这两链表长度相等处扫一遍,找到相同节点就跳出即可。O(n)的时间复杂度 O(1)的空间开销/** * Definition for singly-linked list. * struct ListNode { * int val; * ...
分类:其他好文   时间:2015-03-05 23:39:24    阅读次数:196
Binary Tree Inorder Traversal
For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,3,2]./** * Definition for binary tree * public class TreeNode { * int val;...
分类:其他好文   时间:2015-03-05 16:33:09    阅读次数:128
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!