发布时间:2015-08-02 20:54:50
//Length of Last Word Total Accepted: 56458 Total Submissions: 204354 My Submissions Question Solution <br />//Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.<br />//<br />//If the last word does not exist,.........【阅读全文】
发布时间:2015-08-02 20:41:39
<br />//Jump Game Total Accepted: 50023 Total Submissions: 185682 My Submissions Question Solution <br />//Given an array of non-negative integers, you are initially positioned at the first index of the array.<br />//<br />//Each element in the array represents your maximum jump length at t.........【阅读全文】
发布时间:2015-08-01 22:21:51
<div class="question-title" style="box-sizing:border-box;padding-bottom:10px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#EEEEEE;color:#333333;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:14.399999618530273px;line-height:16px;white-space:normal;backg.........【阅读全文】
发布时间:2015-07-30 16:41:05
<p style="box-sizing:border-box;margin-top:0px;margin-bottom:10px;color:#333333;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:14px;line-height:30px;white-space:normal;background-color:#FFFFFF;">PermutationsII<br />Given a collection of numbers that might contain duplicates,.........【阅读全文】
发布时间:2015-07-13 21:27:03
/Maximum Subarray Total Accepted: 63692 Total Submissions: 184929 My Submissions Question Solution <br />//Find the contiguous subarray within an array (containing at least one number) which has the largest sum.<br />//<br />//For example, given the array [?2,1,?3,4,?1,2,1,?5,4],<br />/.........【阅读全文】