摘要: 119. Pascal's Triangle II Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3,Return [1,3,3,1]. Note:Could you opt 阅读全文
posted @ 2016-05-20 17:45 Black_Knight 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note:You may assume that nums1 has enough space (size tha 阅读全文
posted @ 2016-05-20 17:16 Black_Knight 阅读(165) 评论(0) 推荐(0) 编辑
摘要: Given numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5,Return Subscribe to see which companies asked this ques 阅读全文
posted @ 2016-05-20 16:11 Black_Knight 阅读(150) 评论(0) 推荐(0) 编辑
摘要: Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significant digit is a 阅读全文
posted @ 2016-05-20 12:01 Black_Knight 阅读(144) 评论(0) 推荐(0) 编辑
摘要: Given an array and a value, remove all instances of that value in place and return the new length. Do not allocate extra space for another array, you 阅读全文
posted @ 2016-05-20 00:20 Black_Knight 阅读(190) 评论(0) 推荐(0) 编辑