上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 28 下一页
摘要: Problem Definition: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 optimize yo... 阅读全文
posted @ 2015-07-21 20:13 曾可爱 阅读(95) 评论(0) 推荐(0)
摘要: Problem Definition:Given numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5,Return[ [1], [1,1], [1,2,1]... 阅读全文
posted @ 2015-07-21 20:11 曾可爱 阅读(90) 评论(0) 推荐(0)
摘要: Problem Definition:Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A man, a... 阅读全文
posted @ 2015-07-21 11:33 曾可爱 阅读(103) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 28 下一页