最新 最热

PQ里还能按文件大小轻松排序?

曾经写过一篇文章《批量获取文件名称及路径,用Power Query多简单!》,里面介绍了通过Power Query实现对文件夹及路径管理的问题,但对比我们常见的文件夹内容,PQ里获取的信息总好像少了点儿啥!...

2021-08-31
2

LeetCode 0199 - Binary Tree Right Side View

Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom.

2021-08-11
3

LeetCode 0144 - Binary Tree Preorder Traversal

Given a binary tree, return the preorder traversal of its nodes’ values.

2021-08-11
7

LeetCode 0145 - Binary Tree Postorder Traversal

Given a binary tree, return the postorder traversal of its nodes’ values.

2021-08-11
6

LeetCode 0230 - Kth Smallest Element in a BST

Given a binary search tree, write a function kthSmallest to find the kth smallest element in it.

2021-08-11
1

LeetCode 0226 - Invert Binary Tree

This problem was inspired by this original tweet by Max Howell:

2021-08-11
2

Java 01 - String相加

Given a 2D binary matrix filled with 0’s and 1’s, find the largest square containing only 1’s and return its area.

2021-08-11
1

LeetCode 0221 - Maximal Square

Given a 2D binary matrix filled with 0’s and 1’s, find the largest square containing only 1’s and return its area.

2021-08-11
2

LeetCode 0257 - Binary Tree Paths

Given a binary tree, return all root-to-leaf paths.

2021-08-11
2

LeetCode 0282 - Expression Add Operators

Given a string that contains only digits 0-9 and a target value, return all possibilities to add binary operators (not unary) +, -, or * between the digits so t...

2021-08-11
3