《Python Cookbook 3rd》笔记汇总

2020/11/04 00:38
600
【清华大学】《逻辑学概论》笔记

2020/09/04 01:10
5.1W
《Java8实战》笔记（10）：用Optional取代null

2020/08/18 12:00
6.1K
Redis学习笔记

2020/07/20 22:24
6W
LeetCode - Medium - 513. Find Bottom Left Tree Value

Topic Tree Depth-first Search Breadth-first Search Description https://leetcode.com/problems/find-bottom-left-tree-value/ Given the root of a binary tree, return the leftmost va...

2021/05/29 14:04
153
LeetCode - Easy - 637. Average of Levels in Binary Tree

Topic Tree Description https://leetcode.com/problems/average-of-levels-in-binary-tree/ Given the root of a binary tree, return the average value of the nodes on each level in th...

2021/05/29 04:26
34
LeetCode - Medium - 230. Kth Smallest Element in a BST

Topic Binary Search Tree Description https://leetcode.com/problems/kth-smallest-element-in-a-bst/ Given the root of a binary search tree, and an integer k, return the kth (1-ind...

2021/05/29 02:51
75
LeetCode - Medium - 655. Print Binary Tree

Topic Tree Description https://leetcode.com/problems/print-binary-tree/ Given the root of a binary tree, construct a 0-indexed m x n string matrix res that represents a formatte...

2021/05/28 21:01
99
LeetCode - Easy - 404. Sum of Left Leaves

Topic Tree Description https://leetcode.com/problems/sum-of-left-leaves/ Given the root of a binary tree, return the sum of all left leaves. Example 1: Input: root = [3,9,20,nul...

2021/05/28 18:23
56
LeetCode - Easy - 938. Range Sum of BST

Topic Tree Depth-first Search Recursion Description https://leetcode.com/problems/range-sum-of-bst/ Given the root node of a binary search tree and two integers low and high, re...

2021/05/27 13:39
32
LeetCode - Easy - 504. Base 7

Topic Math Description https://leetcode.com/problems/base-7/ Given an integer num, return a string of its base 7 representation. Example 1: Input: num = 100 Output: "202" Exampl...

2021/05/27 01:24
11
LeetCode - Easy - 1266. Minimum Time Visiting All Points

Topic Array Geometry Description https://leetcode.com/problems/minimum-time-visiting-all-points/ On a 2D plane, there are n points with integer coordinates points[i] = [xi, yi]....

2021/05/26 19:46
64
LeetCode - Easy - 501. Find Mode in Binary Search Tree

Topic Tree Description https://leetcode.com/problems/find-mode-in-binary-search-tree/ Given the root of a binary search tree (BST) with duplicates, return all the mode(s) (i.e.,...

2021/05/26 10:10
33
LeetCode - Easy - 520. Detect Capital

Topic String Description https://leetcode.com/problems/detect-capital/ We define the usage of capitals in a word to be right when one of the following cases holds: All letters i...

2021/05/23 14:30
66
LeetCode - Easy - 566. Reshape the Matrix

Topic Array Description https://leetcode.com/problems/reshape-the-matrix/ In MATLAB, there is a handy function called reshape which can reshape an m x n matrix into a new one wi...

2021/05/23 00:35
33
LeetCode - Easy - 572. Subtree of Another Tree

Topic Tree Description https://leetcode.com/problems/subtree-of-another-tree/ Given the roots of two binary trees root and subRoot, return true if there is a subtree of root wit...

2021/05/22 16:44
17
LeetCode - Medium - 90. Subsets II

Topic Array Backtracking Description https://leetcode.com/problems/subsets-ii/ Given an integer array nums that may contain duplicates, return all possible subsets (the power se...

2021/04/21 14:40
17
LeetCode - Easy - 485. Max Consecutive Ones

Topic Array Description https://leetcode.com/problems/max-consecutive-ones/ Given a binary array nums, return the maximum number of consecutive 1's in the array. Example 1: Inpu...

2021/04/21 04:12
12
LeetCode - Medium - 47. Permutations II

Topic Backtracking Description https://leetcode.com/problems/permutations-ii/ Given a collection of numbers, nums, that might contain duplicates, return all possible unique perm...

2021/04/20 03:10
33
LeetCode - Easy - 1732. Find the Highest Altitude

Topic Array Description https://leetcode.com/problems/find-the-highest-altitude/ There is a biker going on a road trip. The road trip consists of n + 1 points at different altit...

2021/04/08 23:38
76