程序媛詹妮弗
终身学习
摘要: Given a collection of integers that might contain duplicates, nums, return all possible subsets (the power set). Note: The solution set must not conta 阅读全文
posted @ 2018-06-16 21:36 程序媛詹妮弗 阅读(115) 评论(0) 推荐(0) 编辑
摘要: Given a set of distinct integers, nums, return all possible subsets (the power set). Note: The solution set must not contain duplicate subsets. Exampl 阅读全文
posted @ 2018-06-16 10:30 程序媛詹妮弗 阅读(144) 评论(0) 推荐(0) 编辑
摘要: Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. A mapping of digit to le 阅读全文
posted @ 2018-06-16 07:51 程序媛詹妮弗 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value. So the median is the mean of the two 阅读全文
posted @ 2018-06-16 05:16 程序媛詹妮弗 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Given an array nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the k num 阅读全文
posted @ 2018-06-16 03:42 程序媛詹妮弗 阅读(210) 评论(0) 推荐(0) 编辑
摘要: Given a stream of integers and a window size, calculate the moving average of all integers in the sliding window. For example, 题意: 给定固定长度的滑动窗口,更新滑动窗口中 阅读全文
posted @ 2018-06-16 02:36 程序媛詹妮弗 阅读(306) 评论(0) 推荐(0) 编辑