介绍 treap是tree和heap的组合词,说明这种数据结构有树的特点又有堆的特点。本质是一颗二叉搜索树。 treap的结点除了key关键字外还有个priority关键字。treap除了要保证key满足二叉搜索树性质,还要保证当前priority大于等于两个子节点的priority(即堆的性质)。 ...
分类:
其他好文 时间:
2020-06-27 13:10:38
阅读次数:
52
Equations are given in the format A / B = k, where A and B are variables represented as strings, and k is a real number (floating point number). Given ...
分类:
其他好文 时间:
2020-06-27 10:08:38
阅读次数:
52
Combination Sum II (M) 题目 Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidate ...
分类:
其他好文 时间:
2020-06-27 10:04:01
阅读次数:
52
Range Sum Query - Immutable (E) 题目 Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. Example: Give ...
分类:
其他好文 时间:
2020-06-27 09:44:58
阅读次数:
46
恢复内容开始 Range Sum Query 2D - Immutable (M) 题目 Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left cor ...
分类:
其他好文 时间:
2020-06-27 09:36:59
阅读次数:
61
First Missing Positive (H) 题目 Given an unsorted integer array, find the smallest missing positive integer. Example 1: Input: [1,2,0] Output: 3 Example ...
分类:
其他好文 时间:
2020-06-27 09:31:04
阅读次数:
53
MySQL 查询所有存储过程视图 等等 INFORMATION_SCHEMA.TABLES INFORMATION_SCHEMA.TABLES是MySQL自带的(被视作)一个信息数据库,保存着MySQL服务器所维护的其他数据库的信息。INFORMATION_SCHEMA.TABLES其中有数个只读表 ...
分类:
数据库 时间:
2020-06-27 00:25:56
阅读次数:
90
在上篇文章中,我们有一个窗口子控件树形图的截图,帮助我们快速定位Control。使用的是微软 Visual Studio 编译器自带的一款工具Microsoft Spy++ 。 使用说明: 1. 点击 Search -- Find Window... 2. 点击下图的瞄准镜图标并推拽到我们想要查找的 ...
分类:
其他好文 时间:
2020-06-27 00:14:59
阅读次数:
83
layui对radio和select做了包装,正常用jquery选中后使用trigger不起作用。 那么,怎么让其自动触发呢? 对radio来说,必须在$选中后.next('.layui-form-radio').click(); 例如:$(':radio:checked').click();就不行 ...
分类:
其他好文 时间:
2020-06-27 00:03:59
阅读次数:
240