摘要: LeetCode 0225. Implement Stack using Queues用队列实现栈【Easy】【Python】【栈】【队列】 Problem "LeetCode" Implement the following operations of a stack using queues. 阅读全文
posted @ 2020-03-01 22:56 Wonz 阅读(115) 评论(0) 推荐(0) 编辑
摘要: LeetCode 1366. Rank Teams by Votes通过投票对团队排名【Medium】【Python】【排序】 Problem "LeetCode" In a special ranking system, each voter gives a rank from highest t 阅读全文
posted @ 2020-03-01 22:33 Wonz 阅读(306) 评论(0) 推荐(0) 编辑
摘要: LeetCode 1365. How Many Numbers Are Smaller Than the Current Number有多少小于当前数字的数字【Easy】【Python】【暴力】 Problem "LeetCode" Given the array , for each find o 阅读全文
posted @ 2020-03-01 15:36 Wonz 阅读(280) 评论(0) 推荐(0) 编辑
摘要: LeetCode 面试题 04.10. 检查子树【Medium】【Python】【DFS】 问题 "力扣" 检查子树。你有两棵非常大的二叉树:T1,有几万个节点;T2,有几万个节点。设计一个算法,判断 T2 是否为 T1 的子树。 如果 T1 有这么一个节点 n,其子树与 T2 一模一样,则 T2 阅读全文
posted @ 2020-03-01 15:18 Wonz 阅读(183) 评论(0) 推荐(0) 编辑
摘要: LeetCode 1367. Linked List in Binary Tree二叉树中的列表【Medium】【Python】【DFS】 Problem "LeetCode" Given a binary tree and a linked list with as the first node. 阅读全文
posted @ 2020-03-01 14:40 Wonz 阅读(180) 评论(0) 推荐(0) 编辑