发布时间:2015-09-12 16:11:56
/Remove Duplicates from Sorted List My Submissions Question Solution <br />//Total Accepted: 74313 Total Submissions: 214827 Difficulty: Easy<br />//Given a sorted linked list, delete all duplicates such that each element appear only once.<br />//<br />//For example,<br />//Given 1->1-.........【阅读全文】
发布时间:2015-09-12 10:56:55
//Remove Duplicates from Sorted Array II My Submissions Question Solution <br />//Total Accepted: 50992 Total Submissions: 167190 Difficulty: Medium<br />//Follow up for "Remove Duplicates":<br />//What if duplicates are allowed at most twice?<br />//<br />//For example,<br />//Given sort.........【阅读全文】
发布时间:2015-09-11 21:58:32
//Subsets My Submissions Question Solution <br />//Total Accepted: 62243 Total Submissions: 219925 Difficulty: Medium<br />//Given a set of distinct integers, nums, return all possible subsets.<br />//<br />//Note:<br />//Elements in a subset must be in non-descending order.<br />//The so.........【阅读全文】
发布时间:2015-09-11 21:21:49
//Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).<br />//<br />//For example,<br />//S = "ADOBECODEBANC"<br />//T = "ABC"<br />//Minimum window is "BANC".<br />//<br />//Note:<br />//If there is no such window in S .........【阅读全文】
发布时间:2015-09-11 13:30:46
//Sort Colors Total Accepted: 65124 Total Submissions: 199819 My Submissions Question Solution <br />//Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue.<br />//<br />//Here, we.........【阅读全文】