码迷,mamicode.com
首页 >  
搜索关键字:binary trees    ( 12390个结果)
LeetCode-Count Univalue Subtrees
Given a binary tree, count the number of uni-value subtrees. A Uni-value subtree means all nodes of the subtree have the same value. For example: Give ...
分类:其他好文   时间:2016-09-15 06:21:00    阅读次数:114
JavaScript 中的数字和日期类型
本章节介绍如何掌握Javascript里的数字和日期类型 数字EDIT 在 JavaScript 里面,数字都是双精度浮点类型的 double-precision 64-bit binary format IEEE 754 (也就是说一个数字只能在 -(253 -1) 和 253 -1之间)。没有特 ...
分类:编程语言   时间:2016-09-14 19:08:31    阅读次数:299
linux 的文件类型总结文档
win中是通过扩展名,区别文件类型(jpg,jpeg,png,gif/doc,txt,pdf/avi,wmv,mp4)linux中文件类型和或者扩展名没有关联linux的文件类型linux中一切皆文件:f(-)regularfile普通文件普通文件类型:1.纯文本文件(ASCII编码)2.二进制文件(binary)3.数据类格式的文件lastlog命令..
分类:系统相关   时间:2016-09-14 17:05:56    阅读次数:239
190. Reverse Bits
Reverse bits of a given 32 bits unsigned integer. For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), retur ...
分类:其他好文   时间:2016-09-14 12:48:40    阅读次数:129
LeetCode-Binary Tree Paths
Given a binary tree, return all root-to-leaf paths. For example, given the following binary tree: All root-to-leaf paths are: Credits:Special thanks t ...
分类:其他好文   时间:2016-09-14 07:17:24    阅读次数:146
109. Convert Sorted List to Binary Search Tree
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST. BST ...
分类:其他好文   时间:2016-09-14 07:11:09    阅读次数:124
LeetCode-Reverse Bits
Reverse bits of a given 32 bits unsigned integer. For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), retur ...
分类:其他好文   时间:2016-09-14 01:45:00    阅读次数:127
LeetCode----67. Add Binary(java)
package addBinary67;/* Given two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"Return "100". */public class Solut ...
分类:编程语言   时间:2016-09-13 22:26:32    阅读次数:159
leetcode 110
110. Balanced Binary Tree Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as a bin ...
分类:其他好文   时间:2016-09-13 22:04:38    阅读次数:98
leetcode 104
104. Maximum Depth of Binary Tree Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from th ...
分类:其他好文   时间:2016-09-13 13:29:52    阅读次数:150
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!