码迷,mamicode.com
首页 >  
搜索关键字:leaf    ( 924个结果
[LC] 156. Binary Tree Upside Down
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, flip it up ...
分类:其他好文   时间:2020-01-15 13:37:21    阅读次数:80
php 传输文件
/** * # + * # | - @name 文件传输 * # | - @author cq <just_leaf@foxmail.com> * # | - @copyright zmtek 2018-11-07 * # + * # | - 1.初始化文本格式 * # + */ public fu ...
分类:Web程序   时间:2020-01-15 11:59:56    阅读次数:98
[LeetCode] 257. Binary Tree Paths
二叉树路径。题意是给一个二叉树,请输出从根节点遍历到每个最小的叶子节点的路径。例子 Example: Input: 1 / \ 2 3 \ 5 Output: ["1->2->5", "1->3"] Explanation: All root-to-leaf paths are: 1->2->5, ...
分类:其他好文   时间:2020-01-12 13:25:09    阅读次数:71
[LC] 107. Binary Tree Level Order Traversal II
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). For ...
分类:其他好文   时间:2020-01-05 10:02:41    阅读次数:87
红黑树新解(插入)
1. 简介 红黑树是一种自平衡二叉查找树,在查找,插入和删除几个方面,性能都可以做到O(lgN)。 那怎么实现呢,首先要先看看红黑树的5个特性,只有满足这5个特性,才是红黑树。 每个结点都有父结点(parent),左子结点(left)和右子结点(right), root的父结点是leaf结点。 下图 ...
分类:其他好文   时间:2020-01-02 22:39:39    阅读次数:91
scikit_learn (sklearn)库中NearestNeighbors(最近邻)函数的各参数说明
NearestNeighbors(n_neighbors=5, radius=1.0, algorithm='auto', leaf_size=30, metric='minkowski', p=2, metric_params=None, n_jobs=None) Parameters(参数): ...
分类:其他好文   时间:2019-12-26 19:17:16    阅读次数:332
leaf框架(一) 部署leaf
获取 LeafServer: git clone https://github.com/name5566/leafserver 将下下来的文件里server放入gopath的src下,bin里的文件也放在gopath的bin下 获取leaf go get github.com/name5566/le ...
分类:其他好文   时间:2019-12-22 20:23:00    阅读次数:188
Python PIL模块
from PIL import Image import numpy as np #img1=Image.open('leaf.jpeg') #img=Image.open('people.jpeg') #img.show() #print("before image becoming number ...
分类:编程语言   时间:2019-12-21 10:05:33    阅读次数:92
[LC] 129. Sum Root to Leaf Numbers
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 whic ...
分类:其他好文   时间:2019-12-12 13:14:24    阅读次数:93
Tomcat配置https访问
1、利用JDK自带的keytools生成一个证书 参考:https://www.cnblogs.com/zhi-leaf/p/10418222.html 2、修改conf/server.xml文件,打开如下配置 certificateKeystoreFile:证书位置;certificateKeys ...
分类:Web程序   时间:2019-12-05 16:04:40    阅读次数:143
924条   上一页 1 ... 3 4 5 6 7 ... 93 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!