Problem LeetCode Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Example 1: Input: root = [3,1,4,null ...
分类:
编程语言 时间:
2021-01-11 10:45:32
阅读次数:
0
#1、form-data: 就是http请求中的multipart/form-data,它会将表单的数据处理为一条消息,以标签为单元,用分隔符分开。 既可以上传键值对,也可以上传文件。 当上传的字段是文件时,会有Content-Type来说明文件类型; content-disposition,用来说 ...
分类:
Web程序 时间:
2021-01-08 10:55:07
阅读次数:
0
今天继续刷leetcode。 今天着重练习了一下回文串(Palindromic string)相关的题目,其中做到1457. Pseudo-Palindromic Paths in a Binary Tree这一道题的时候,自己方法没错,但跑了两次都是TLE,然后心态有点崩,就去看了一下别人的代码, ...
分类:
其他好文 时间:
2021-01-07 12:43:48
阅读次数:
0
python3 [root@vm10-20-9-45 ~]# python3 -m http.server 2378 Serving HTTP on 0.0.0.0 port 2378 (http://0.0.0.0:2378/) ... 100.81.171.16 - - [03/Jan/2021 ...
分类:
编程语言 时间:
2021-01-06 12:24:12
阅读次数:
0
1、在使用eclipse构建基于maven的spring工程时,报下面的错误,如下所示: 1 Multiple annotations found at this line: 2 - cvc-elt.1: Cannot find the declaration of element 'beans'. ...
分类:
其他好文 时间:
2021-01-06 12:07:38
阅读次数:
0
Find a Corresponding Node of a Binary Tree in a Clone of That Tree (M) 题目 Given two binary trees original and cloned and given a reference to a node t ...
分类:
其他好文 时间:
2021-01-06 11:39:40
阅读次数:
0
来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal 根据一棵树的中序遍历与后序遍历构造二叉树。 注意:你可以假设树中没有重复的元素。 ...
分类:
其他好文 时间:
2021-01-05 11:32:09
阅读次数:
0
144. 二叉树的前序遍历 地址:https://leetcode-cn.com/problems/binary-tree-preorder-traversal/ //给你二叉树的根节点 root ,返回它节点值的 前序 遍历。 // // // // 示例 1: // // //输入:root = ...
分类:
其他好文 时间:
2021-01-05 11:30:49
阅读次数:
0
题目描述 1 /** 2 * Definition for a binary tree node. 3 * struct TreeNode { 4 * int val; 5 * TreeNode *left; 6 * TreeNode *right; 7 * TreeNode() : val(0), ...
分类:
其他好文 时间:
2021-01-05 11:28:10
阅读次数:
0
最近在学习python,按照网上的步骤进行操作 url.py的代码 但是一直报如下的错。 Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/page/ Using the URLconf defin ...
分类:
其他好文 时间:
2021-01-04 11:14:18
阅读次数:
0