
HashMap
N.C_IPOC_BUPT
一个喜欢科怀.莱昂纳德的准程序猿,研一在读。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
501. Find Mode in Binary Search Tree
题目描述 题目链接 https://leetcode.com/problems/find-mode-in-binary-search-tree/ 方法思路 Approach1: based on HashMap class Solution { //Runtime: 6 ms, faster than 51.99% //Memory Usage: 40.3 MB, less th...原创 2019-03-31 20:34:14 · 201 阅读 · 0 评论 -
987. Vertical Order Traversal of a Binary Tree
题目描述 Given a binary tree, return the vertical order traversal of its nodes values. For each node at position (X, Y), its left and right children respectively will be at positions (X-1, Y-1) and (X+1, ...原创 2019-04-03 11:28:01 · 474 阅读 · 0 评论