加载中
《Python Cookbook 3rd》笔记汇总

一、数据结构 标题 关键词 1.1:拆分序列后赋值给多个变量 可迭代对象、拆分赋值 1.2:拆分任意长可迭代对象后赋值给多个变量 可迭代对象、拆分赋值、星号表达式 1.3:保留最近N个元素 coll...

【清华大学】《逻辑学概论》笔记

教学视频来源 概要 讲师介绍 陈为蓬 清华大学人文学院 副教授 课程内容 第1讲 什么是逻辑学? 第2讲 逻辑学的产生与发展 第3讲 命题联结词及其基本推理形式 第4讲 复合命题的推理:有效推理形...

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

用Optional取代null 本文的代码 众所周知,对任何一位Java程序员来说,无论是初出茅庐的素人,还是久经江湖的老司机,NullPointerException都是他心中的痛,可是我们又无能为力,因为这就是我...

Redis学习笔记

教学视频 Redis官网 Redis中文网 本文用到的Java源码 由于OSChina的博客改版,把原来博客目录导航功能去掉了,下表快速索引失效。若需要快速索引,请点击这里。 - - - 01.NoSQL入门概述-上 ...

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...

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

没有更多内容

加载失败,请刷新页面

返回顶部
顶部