theshy

博客园 首页 新随笔 联系 订阅 管理

2020年2月19日 #

摘要: public class Solution { /** * @param s: a string, encoded message * @return: an integer, the number of ways decoding */ public static int numDecodings 阅读全文
posted @ 2020-02-19 20:19 tziSher 阅读(185) 评论(0) 推荐(0) 编辑

摘要: public class Solution { /** * @param costs: n x 3 cost matrix * @return: An integer, the minimum cost to paint all houses */ public int minCost(int[][ 阅读全文
posted @ 2020-02-19 19:19 tziSher 阅读(135) 评论(0) 推荐(0) 编辑