10 2015 档案

摘要:Description: Given an array with integers. Find two non overlapping subarrays A and B, which |SUM(A) SUM(B)| is the largest . Return the largest di... 阅读全文
posted @ 2015-10-16 03:08 影湛 阅读(160) 评论(0) 推荐(0)
摘要:Description: Given n x m non negative integers representing an elevation map 2d where the area of each cell is 1 x 1, compute how much water it is ab... 阅读全文
posted @ 2015-10-15 02:53 影湛 阅读(163) 评论(0) 推荐(0)
摘要:Description: Given n non negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap ... 阅读全文
posted @ 2015-10-15 01:45 影湛 阅读(115) 评论(0) 推荐(0)
摘要:Description: Given a string source and a string target, find the minimum window in source which will contain all the characters in target. Example s... 阅读全文
posted @ 2015-10-13 17:40 影湛 阅读(148) 评论(0) 推荐(0)
摘要:Description: Given an array of n integer with duplicate number, and a moving window(size k), move the window at each iteration from the start of the ... 阅读全文
posted @ 2015-10-12 02:20 影湛 阅读(142) 评论(0) 推荐(0)
摘要:Description: Numbers keep coming, return the median of numbers at every time a new number added. Example For numbers coming list: , return . For nu... 阅读全文
posted @ 2015-10-10 17:01 影湛 阅读(163) 评论(0) 推荐(0)
摘要:Description: 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... 阅读全文
posted @ 2015-10-10 16:25 影湛 阅读(187) 评论(0) 推荐(0)