随笔分类 -  算法面试通关

摘要:Binary Tree Level Order Traversal 题目描述: Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by 阅读全文
posted @ 2015-11-21 14:31 邴越 阅读(294) 评论(0) 推荐(0) 编辑
摘要:判定一棵二叉树是不是二叉平衡树。 链接:https://oj.leetcode.com/problems/balanced-binary-tree/ 题目描述: Given a binary tree, determine if it is height-balanced.For this prob 阅读全文
posted @ 2014-12-11 18:30 邴越 阅读(837) 评论(0) 推荐(0) 编辑
摘要:设计并实现最近最久未使用(Least Recently Used)缓存。 题目描述: Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following 阅读全文
posted @ 2014-12-09 15:01 邴越 阅读(2192) 评论(2) 推荐(2) 编辑
摘要:LeetCode相关的网上资源比较多,看到题目一定要自己做一遍,然后去学习参考其他的解法。 链接: https://oj.leetcode.com/problems/min-stack/ 题目描述: Design a stack that supports push, pop, top, and r 阅读全文
posted @ 2014-12-03 09:03 邴越 阅读(718) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示