码迷,mamicode.com
首页 >  
搜索关键字:ternary search tree    ( 28833个结果
51job多线程爬取指定职业信息数据
51job多线程爬取指定职业信息数据 # datetime:2020/10/7 14:02 # 51job多线程 import requests import chardet from bs4 import BeautifulSoup import csv from openpyxl import ...
分类:编程语言   时间:2020-10-07 21:39:48    阅读次数:43
208. 实现 Trie (前缀树)
208. 实现 Trie (前缀树) 题目描述 实现一个 Trie (前缀树),包含 insert, search, 和 startsWith 这三个操作。 示例: Trie trie = new Trie(); trie.insert("apple"); trie.search("apple"); ...
分类:其他好文   时间:2020-10-07 21:37:25    阅读次数:34
PAT(Advanced Level)A1004. Counting Leaves
题意 统计树中的每一层有多少叶子结点,要求逐层输出 思路 逐层输出,刚好层序遍历是逐层扩展,所以我就直接用BFS了 代码 #include <algorithm> #include <cstdio> #include <cstring> #include <iostream> #include <v ...
分类:其他好文   时间:2020-10-06 20:54:35    阅读次数:26
【机器学习】决策树
Decision Tree 决策树 决策树的定义和直观解释 决策树定义 决策树是一类常见的机器学习方法。本质就是一棵树,这棵树表示的含义如下: 每个非叶子结点对应一个判定问题 每个叶子结点对应一个决策结果 每一条从根到叶的路径对应一个完整的决策过程 决策树模型的特点 优点 可解释性极强,常用于医疗诊 ...
分类:其他好文   时间:2020-10-05 22:31:25    阅读次数:37
pythonPTA---分支循环与集合
7-1 jmu-python-韩信点兵 (20分) 7-2 打印数字矩形 (10分) 7-3 成绩统计 (10分) 7-4 找列表中最大元素的下标 7-5 删除列表中的重复值 如下: https://github.com/shylara-zhou/pythonPTA/tree/main ...
分类:编程语言   时间:2020-10-05 22:31:12    阅读次数:56
并查集-二项树与快速合并算法
ALGS4 Exercise 1.5.15 Problem Binomial trees. Show that the number of nodes at each level in the worst-case trees for weighted quick-union are binomia ...
分类:编程语言   时间:2020-10-05 21:48:17    阅读次数:42
1 安装Kubernetes-虚拟机环境设置(1)
虚拟机环境设置关闭swap分区swapoff-a&&sed-i‘/swap/s/^(.*)$/#\1/g‘/etc/fstab&&free-m关闭selinuxsed-i‘s/SELINUX=enforcing/SELINUX=disabled/‘/etc/selinux/config关闭防火墙systemctlstopfirewal
分类:Web程序   时间:2020-10-05 21:41:21    阅读次数:31
Docker 命令-镜像命令docker search(3)
搜索镜像dockersearchtomcat搜索镜像列出星数达到一定数量的镜像dockersearch-s30tomcat搜索镜像列出镜像并由详细说明dockersearchtomcat--no-trunc搜索镜像列出自动构建的镜像dockersearchtomcat--automated组合使用dockersearchtomcat-s30--no-trunc
分类:其他好文   时间:2020-10-05 21:34:23    阅读次数:33
501. Find Mode in Binary Search Tree
https://leetcode-cn.com/problems/find-mode-in-binary-search-tree/ class Solution { public: int count = 0, max_count = 0; TreeNode* pre = NULL; vector< ...
分类:其他好文   时间:2020-09-24 22:11:03    阅读次数:80
Qt 设置QTreeWidget的列宽
1 tree = new QTreeWidget(this); 2 3 this->setSelectionMode(QAbstractItemView::ExtendedSelection); 4 5 tree->setColumnCount(2); 6 7 this->setColumnWidt ...
分类:其他好文   时间:2020-09-24 22:06:29    阅读次数:54
28833条   上一页 1 ... 49 50 51 52 53 ... 2884 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!