摘要: https://leetcode.com/problems/add-and-search-word-data-structure-design/本题是在Trie树进行dfs+backtracking操作。Trie树模板代码见:http://www.cnblogs.com/fu11211129/p/4... 阅读全文
posted @ 2015-11-17 19:36 流白 阅读(227) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/multiply-strings/Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The nu... 阅读全文
posted @ 2015-11-17 14:39 流白 阅读(238) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/spiral-matrix/Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral order.For examp... 阅读全文
posted @ 2015-11-17 12:48 流白 阅读(199) 评论(0) 推荐(0) 编辑