2018年1月7日

decode ways(动态规划)

摘要: A message containing letters from A-Z is being encoded to numbers using the following mapping: Given an encoded message containing digits, determine t 阅读全文

posted @ 2018-01-07 17:48 夜的第八章 阅读(124) 评论(0) 推荐(0) 编辑

word search(二维数组中查找单词(匹配字符串))

摘要: Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjac 阅读全文

posted @ 2018-01-07 15:07 夜的第八章 阅读(4241) 评论(0) 推荐(0) 编辑

导航