摘要: Let's play the minesweeper game (Wikipedia, online game)! You are given a 2D char matrix representing the game board. 'M' represents an unrevealed mine, 'E' represents an unrevealed empty square, 'B' ... 阅读全文
posted @ 2017-12-11 22:36 xiejunzhao 阅读(201) 评论(0) 推荐(0)
摘要: Given an array of n integers where n > 1, nums, return an array output such that output[i] is equal to the product of all the elements of nums except nums[i].Solve it without division and in O(n).For ... 阅读全文
posted @ 2017-12-11 22:36 xiejunzhao 阅读(117) 评论(0) 推荐(0)
摘要: Given a list of sorted characters letters containing only lowercase letters, and given a target letter target, find the smallest element in the list that is larger than the given target.Letters also ... 阅读全文
posted @ 2017-12-11 22:35 xiejunzhao 阅读(315) 评论(0) 推荐(0)