2015年9月11日

leetcode面试准备:Sliding Window Maximum

摘要: leetcode面试准备:Sliding Window Maximum === 1 题目 Given an array nums, there is a sliding window of size k which is moving from the very left of the array... 阅读全文

posted @ 2015-09-11 17:16 BYRHuangQiang 阅读(1015) 评论(0) 推荐(0) 编辑

leetcode面试准备:Simplify Path

摘要: leetcode面试准备:Simplify Path === 1 题目 Given an absolute path for a file (Unix style), simplify it. For example, path = "/home/", = "/home" path = "/a... 阅读全文

posted @ 2015-09-11 15:55 BYRHuangQiang 阅读(411) 评论(0) 推荐(0) 编辑

leetcode面试准备:Kth Largest Element in an Array

摘要: leetcode面试准备:Kth Largest Element in an Array === 1 题目 Find the kth largest element in an unsorted array. Note that it is the kth largest element in ... 阅读全文

posted @ 2015-09-11 15:13 BYRHuangQiang 阅读(281) 评论(0) 推荐(0) 编辑

导航