A Fi binary number is a number that contains only 0 and 1. It does not contain any leading 0. And also it does not contain 2 consecutive 1. The first ...
分类:
其他好文 时间:
2019-02-13 00:21:20
阅读次数:
237
1. Traverse the binary tree, store {x,y,val} for every node in records; 2. Sort the records of {x,y,val} for all nodes by increasing x, decreasing y, ...
分类:
其他好文 时间:
2019-02-12 21:45:45
阅读次数:
133
Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and contains only characters 1 or 0. Example 1 ...
分类:
其他好文 时间:
2019-02-12 21:25:30
阅读次数:
165
转自:https://blog.csdn.net/u014475796/article/details/49893261 DROP TABLE IF EXISTS `test`.`pic`; DROP TABLE IF EXISTS `test`.`pic`; CREATE TABLE `test` ...
分类:
数据库 时间:
2019-02-12 18:42:18
阅读次数:
189
package com.jiaoyiping.passwordmanager.pki; import org.apache.commons.codec.binary.Hex; import javax.crypto.Cipher;import java.io.ByteArrayOutputStrea ...
分类:
其他好文 时间:
2019-02-12 15:55:29
阅读次数:
338
https://pintia.cn/problem-sets/994805342720868352/problems/994805380754817024 An inorder binary tree traversal can be implemented in a non-recursive w ...
分类:
其他好文 时间:
2019-02-12 13:16:46
阅读次数:
110
1.查询数据 默认是从偏移量为0 处开始查村数据,通过指定offset 可以从offset 处开始取数 2.where 语句 mysql where 条件不区分大小写,若要区分大小写则采用下面的写法 3.update 更新表记录 4.删除表记录 delete delete 语句如果不指定where ...
分类:
数据库 时间:
2019-02-11 19:47:43
阅读次数:
171
https://pintia.cn/problem-sets/994805342720868352/problems/994805404939173888 An AVL tree is a self-balancing binary search tree. In an AVL tree, the ...
分类:
其他好文 时间:
2019-02-11 12:48:30
阅读次数:
134
Given the root to a binary tree, implement serialize(root), which serializes the tree into a string, and deserialize(s), which deserializes the string ...
分类:
其他好文 时间:
2019-02-11 10:29:57
阅读次数:
168
这是悦乐书的第 246 次更新,第 259 篇原创 01 看题和准备 今天介绍的是LeetCode算法题中Easy级别的第113题(顺位题号是501)。给定具有重复项的二叉搜索树(BST),找到给定BST中的所有模式(最常出现的元素)。假设BST定义如下: 节点的左子树仅包含键小于或等于节点键的节点 ...
分类:
编程语言 时间:
2019-02-11 10:20:57
阅读次数:
174