摘要: Word SearchGiven 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, wh... 阅读全文
posted @ 2015-12-03 16:25 `Liok 阅读(1040) 评论(0) 推荐(0) 编辑
摘要: Super Ugly NumberWrite a program to find the nthsuper ugly number.Super ugly numbers are positive numbers whose all prime factors are in the given pri... 阅读全文
posted @ 2015-12-03 14:11 `Liok 阅读(2243) 评论(0) 推荐(0) 编辑