上一页 1 ··· 53 54 55 56 57 58 59 60 61 ··· 80 下一页
摘要: Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol... 阅读全文
posted @ 2014-12-23 16:41 匡子语 阅读(224) 评论(0) 推荐(0)
摘要: Givens1,s2,s3, find whethers3is formed by the interleaving ofs1ands2.For example,Given:s1="aabcc",s2="dbbca",Whens3="aadbbcbcac", return true.Whens3="... 阅读全文
posted @ 2014-12-23 15:57 匡子语 阅读(204) 评论(0) 推荐(0)
摘要: Implement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The... 阅读全文
posted @ 2014-12-21 22:58 匡子语 阅读(262) 评论(0) 推荐(0)
摘要: Implement wildcard pattern matching with support for'?'and'*'.'?' Matches any single character.'*' Matches any sequence of characters (including the e... 阅读全文
posted @ 2014-12-18 22:53 匡子语 阅读(341) 评论(0) 推荐(0)
摘要: Given a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substring.For"(()", the longest... 阅读全文
posted @ 2014-12-17 16:57 匡子语 阅读(203) 评论(0) 推荐(0)
摘要: Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representation... 阅读全文
posted @ 2014-12-17 11:43 匡子语 阅读(270) 评论(0) 推荐(0)
摘要: Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.找到01矩形中最大的全1子矩阵。我自己的思路: 我先用一个跟输... 阅读全文
posted @ 2014-12-12 23:18 匡子语 阅读(188) 评论(0) 推荐(0)
摘要: Find the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given the array[2,3,-2,4],the... 阅读全文
posted @ 2014-12-11 20:26 匡子语 阅读(188) 评论(0) 推荐(0)
摘要: 咱看书没有顺序,喜欢哪里看哪里,so,先看跟我平时使用网络最相关的应用层~域名与url 域名是IP的别名,比如www.baidu.com,其中越靠后的就越表示域名等级越高,com是顶级域名,baidu是二级域名,但是www是不是三级域名我就搞不懂了.还有,一个域名对应一个ip,那这么多信息都放在一... 阅读全文
posted @ 2014-12-11 13:26 匡子语 阅读(218) 评论(0) 推荐(0)
摘要: Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along its path.Note:Yo... 阅读全文
posted @ 2014-12-09 16:37 匡子语 阅读(180) 评论(0) 推荐(0)
上一页 1 ··· 53 54 55 56 57 58 59 60 61 ··· 80 下一页