游标可以看做是数据的集合,可以通过游标获取其中的值,游标也可以看做是数据集合的指针,通过游标可以获取集合中的数据。 游标分为显示游标和隐式游标,它们都具有 %FOUND、%NOTFOUND、%ISOPEN、%ROWCOUNT四个属性。 FOUND,NOTFOUND:表示是否找到数据。 ISOPEN: ...
分类:
数据库 时间:
2021-01-27 13:53:20
阅读次数:
0
项目中为了方便的存储本地数据,使用了SQLite数据库作为数据存储,再设计时DB、models引用了sqlite-net-pcl,那么项目再升级sqlite-net-pc 1.7.335l版本后后,遇到了很奇怪的一个问题。 再执行初始化数据库时new SQLiteAsyncConnection(db ...
分类:
数据库 时间:
2021-01-27 13:45:23
阅读次数:
0
JavaScript 二叉查找树 关于树 树是一种分层数据的抽象模型。是一种非顺序数据结构,对于存储需要快速查找的数据非常有效 树的结构特点: 每个父节点都有 0 个或多个子节点。 除了根节点外,每个子节点都有且仅有一个父节点 树的深度:取决于父节点的数量 叶子节点:没有子节点的节点 二叉查找树 每 ...
分类:
编程语言 时间:
2021-01-26 12:04:58
阅读次数:
0
maven 下载了一个新扩展 导致如下错误: SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/Users/QianXiao/.m2/repository/ch/qos/ ...
分类:
其他好文 时间:
2021-01-26 11:57:22
阅读次数:
0
Managing Growing Projects Packages and Crates A crate is a binary or library. The crate root is a source file that the Rust Compiler starts from and m ...
思路分析 其实就是递归判断左树和右树,但是一些判断条件需要仔细思考下. cpp /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * ...
分类:
其他好文 时间:
2021-01-26 11:49:40
阅读次数:
0
Problem LeetCode Given the root of a binary tree, return the sum of every tree node's tilt. The tilt of a tree node is the absolute difference between ...
分类:
编程语言 时间:
2021-01-25 11:29:21
阅读次数:
0
Problem LeetCode Given a binary search tree with non-negative values, find the minimum absolute difference between values of any two nodes. Example: I ...
分类:
编程语言 时间:
2021-01-21 10:55:51
阅读次数:
0
启动插件 /elasticsearch-head目录npm run start启动elasticsearch 不能使用root账号 切换账号:su es./bin/elasticsearch 打印日志 前台运行,Ctrl + C 则程序终止./bin/elasticsearch -d 后台运行模式 ...
分类:
其他好文 时间:
2021-01-19 12:26:21
阅读次数:
0
124. 二叉树中的最大路径和 路径 被定义为一条从树中任意节点出发,沿父节点-子节点连接,达到任意节点的序列。该路径 至少包含一个 节点,且不一定经过根节点。 路径和 是路径中各节点值的总和。 给你一个二叉树的根节点 root ,返回其 最大路径和 。 示例 1: 输入:root = [1,2,3 ...
分类:
其他好文 时间:
2021-01-19 12:04:37
阅读次数:
0