Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area.For example, given the following matr...
分类:
其他好文 时间:
2015-09-15 18:08:34
阅读次数:
208
Problem:Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) or empty, fl...
分类:
其他好文 时间:
2015-09-15 06:56:07
阅读次数:
147
Binary Tree Inorder TraversalGiven a binary tree, return theinordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ ...
分类:
编程语言 时间:
2015-09-15 01:31:31
阅读次数:
154
Binary Tree Level Order Traversal IIGiven a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from left to right, level...
分类:
其他好文 时间:
2015-09-15 00:00:24
阅读次数:
388
Question:Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".Analysis:思路一:首先将二进制字符串转化成十进制,然后十进制相加,最...
分类:
其他好文 时间:
2015-09-14 22:47:03
阅读次数:
248
首先要明确分式的二进制表达方式:1 //supposing the fraction is a / b, (a 2 #include 3 #include 4 #include 5 using namespace std; 6 typedef __int64 LL; 7 const int ...
分类:
其他好文 时间:
2015-09-14 20:54:00
阅读次数:
148
RPM包管理器rpm安装包二进制包(Binary)以及源代码包(Source)两种。二进制包可以直接安装在计算机中,而源代码包将会由RPM自动编译、安装。源代码包经常以src.rpm作为后缀名。常用命令组合:-ivh:安装显示安装进度--install--verbose--hash-Uvh:升级软件包--Update;-q..
分类:
其他好文 时间:
2015-09-14 19:36:53
阅读次数:
269
题目:Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest...
分类:
其他好文 时间:
2015-09-14 16:46:54
阅读次数:
101
/ ? 根目录 /bin??? ?常用的命令 binary file 的目錄 /boot?? 存放系统启动时必须读取的档案,包括核心 (kernel) 在内 ???? ?/boot/grub/menu.lst?? GRUB设置 ???? /boot/vmlinuz?? 内核 ??...
分类:
系统相关 时间:
2015-09-14 15:37:56
阅读次数:
392
Sept. 13, 2015Spent more than a few hours to work on the leetcode problem, and my favorite blogs about this problems:1.http://siddontang.gitbooks.io/l...
分类:
其他好文 时间:
2015-09-14 07:02:38
阅读次数:
138