自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (1)
  • 收藏
  • 关注

原创 LeetCode437.Path Sum III

You are given a binary tree in which each node contains an integer value.Find the number of paths that sum to a given value.The path does not need to start or end at the root or a leaf, but it must go downwards (traveling only from parent nodes to child

2020-07-19 19:09:01 122

原创 LeetCode112.Path Sum

Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Note: A leaf is a node with no children.Example:Given the below binary tree and sum = 22, 5 /

2020-07-19 19:07:58 141

原创 LeetCode113.Path Sum II Python实现(详细解析以及错误展示分析)

Given a binary tree and a sum, find all root-to-leaf paths where each path’s sum equals the given sum.Note: A leaf is a node with no children.Example:Given the below binary tree and sum = 22, 5 / \ 4 8 / / \ 11 13 4 / \ /

2020-07-19 19:06:30 165

原创 LeetCode160. Intersection of Two Linked Lists

Write a program to find the node at which the intersection of two singly linked lists begins.For example, the following two linked lists:begin to intersect at node c1.Example 1:Input: intersectVal = 8, listA = [4,1,8,4,5], listB = [5,6,1,8,4,5], skip

2020-07-16 17:07:41 165

原创 LeetCode104.Maximum Depth of Binary Tree

Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.Note: A leaf is a node with no children.Example:Given binary tree [3,9,20,null,null,15,7],

2020-07-16 16:59:19 130

原创 LeetCode234. Palindrome Linked List

Given a singly linked list, determine if it is a palindrome.Example 1:Input: 1->2Output: falseExample 2:Input: 1->2->2->1Output: trueExample 3:Input: 1->2->3->2->1Output: trueFollow up:Could you do it in O(n) time and

2020-07-16 16:58:22 114 1

原创 Python中的pip更新升级

常见的pip更新升级方法为python -m pip install --upgrade pippython -m pip install -U --force-reinstall pippip install --user --upgrade pip但是以上三种方法有可能在网络不良情况下仍不行,或者有些时候出现的是‘d:\python3.6\python.exe -m pip install --user --upgrade pip’这种类似的提示,这时候仍有另外两种方法:直接使用引号里面

2020-06-19 05:57:57 499

LaTeX学习资料

此文档适用于LaTeX初学者查询常见命令操作,不建议通读,当做手册查询使用

2018-02-02

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除