
LeetCode Weekly Contest 92
IT技术小密圈
“IT技术小密圈”公众号致力于为初中级程序员提供实用的编程技巧、经验分享和行业动态,涵盖代码实践、面试技巧和职场经验等多个方面,帮助你快速成长。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode: Weekly Contest 92
LeetCode: Weekly Contest 92 题解列表 1. LeetCode: 868. Transpose Matrix 题解 第一题照例是签到题, 根据矩阵的转置定义,行列互换。 2.LeetCode: 866. Smallest Subtree with all the Deepest Nodes 题解 关于二叉树的题,照例用递归分治思想求解。 3. LeetCode...原创 2018-07-08 16:15:25 · 378 阅读 · 0 评论 -
LeetCode: 868. Transpose Matrix
LeetCode: 868. Transpose Matrix 题目描述 Given a matrix A, return the transpose of A. The transpose of a matrix is the matrix flipped over it’s main diagonal, switching the row and column indices of th...原创 2018-07-08 16:19:31 · 499 阅读 · 0 评论 -
LeetCode: 866. Smallest Subtree with all the Deepest Nodes
LeetCode: 866. Smallest Subtree with all the Deepest Nodes 题目描述 Given a binary tree rooted at root, the depth of each node is the shortest distance to the root. A node is deepest if it has the larg...原创 2018-07-08 16:36:36 · 480 阅读 · 0 评论 -
LeetCode: 867. Prime Palindrome
LeetCode: 867. Prime Palindrome 题目描述 Find the smallest prime palindrome greater than or equal to N. Recall that a number is prime if it’s only divisors are 1 and itself, and it is greater than 1. ...原创 2018-07-08 17:42:22 · 1004 阅读 · 2 评论 -
LeetCode: 865. Shortest Path to Get All Keys
LeetCode: 865. Shortest Path to Get All Keys 题目描述 We are given a 2-dimensional grid. "." is an empty cell, "#" is a wall,"@" is the starting point, (&am原创 2018-07-10 14:01:46 · 701 阅读 · 0 评论