自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

转载 Lintcode363 Trapping Rain Water solution 题解

【题目描述】 Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap aft...

2018-02-12 22:41:00 111

转载 Lintcode360 Sliding Window Median solution 题解

【题目描述】 Given an array of n integer, and a moving window(size k), move the window at each iteration from the start of the array, find the median of...

2018-02-11 20:03:00 101

转载 Lintcode249 Count of Smaller Number before itself solution 题解

【题目描述】 Give you an integer array (index from 0 to n-1, where n is the size of this array, data value from 0 to 10000) . For each element Ai in the...

2018-02-10 23:44:00 110

转载 Lintcode248 Count of Smaller Number solution 题解

【题目描述】 Give you an integer array (index from 0 to n-1, where n is the size of this array, value from 0 to 10000) and an query list. For each query...

2018-02-08 16:59:00 97

转载 Lintcode247 Segment Tree Query II solution 题解

【题目描述】 For an array, we can build a Segment Tree for it, each node stores an extra attribute count to denote the number of elements in the the arr...

2018-02-07 22:51:00 84

转载 Lintcode245 Subtree solution 题解

【题目描述】 You have two every large binary trees:T1, with millions of nodes, and T2, with hundreds of nodes. Create an algorithm to decide if T2 is a ...

2018-02-06 10:52:00 127

转载 Lintcode223 Palindrome Linked List solution 题解

【题目描述】 Implement a function to check if a linked list is a palindrome. 设计一种方式检查一个链表是否为回文链表。 【题目链接】 www.lintcode.com/en/problem/palindrome-linke...

2018-02-05 23:49:00 106

转载 Lintcode221 Add Two Numbers II solution 题解

【题目描述】 You have two numbers represented by a linked list, where each node contains a single digit. The digits are stored in forward order, such...

2018-02-04 22:44:00 103

转载 Lintcode208 Assignment Operator Overloading (C++ Only) solution 题解

【题目描述】 Implement an assignment operator overloading method. Make sure that: The new data can be copied correctly The old data can be deleted...

2018-02-03 20:45:00 121

转载 Lintcode207 Interval Sum II solution 题解

【题目描述】 Given an integer array in the construct method, implement two methods query(start, end) and modify(index, value): For query(start,end),...

2018-02-02 23:14:00 95

转载 Lintcode206 Interval Sum solution 题解

【题目描述】 Given an integer array (index from 0 to n-1, where n is the size of this array), and an query list. Each query has two integers[start, e...

2018-02-01 21:03:00 126

转载 Lintcode205 Interval Minimum Number solution 题解

【题目描述】 Given an integer array (index from 0 to n-1, where n is the size of this array), and an query list. Each query has two integers[start, e...

2018-01-31 20:54:00 83

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除