
多个指针
文章平均质量分 74
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 327. Count of Range Sum(区间和计数)
原题网址:https://leetcode.com/problems/count-of-range-sum/ Given an integer array nums, return the number of range sums that lie in [lower, upper] inclusive. Range sum S(i, j) is defined as the su原创 2016-04-28 00:32:14 · 3758 阅读 · 0 评论 -
LeetCode 312. Burst Balloons(戳气球)
原题网址:https://leetcode.com/problems/burst-balloons/ Given n balloons, indexed from 0 to n-1. Each balloon is painted with a number on it represented by array nums. You are asked to burst all t原创 2016-04-21 14:39:10 · 3604 阅读 · 0 评论 -
LeetCode 159. Longest Substring with At Most Two Distinct Characters(最长字串)
原题网址:https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters/ Given a string, find the length of the longest substring T that contains at most 2 distinct characters.原创 2016-05-26 00:54:39 · 594 阅读 · 0 评论