摘要:
有几个需要注意的地方,这个问题是不是大写和小写之间的区别。这样你就输入字符串大写或小写转换的计算前。第二个,定要清晰。先将s1从[i]处開始与s2的[j]開始匹配,不相等则j++直到j等于s2.length()-1。相等,则i++,j++。注意,这里就是i++,即下次又一次開始从s[i]開始匹配时,... 阅读全文
posted @ 2015-06-26 09:26
mfrbuaa
阅读(183)
评论(0)
推荐(0)
摘要:
标题叙述性说明:Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the ne... 阅读全文
posted @ 2015-06-26 08:20
mfrbuaa
阅读(131)
评论(0)
推荐(0)
浙公网安备 33010602011771号