摘要: Suppose you have a random list of people standing in a queue. Each person is described by a pair of integers (h, k), where h is the height of the person and k is the number of people in front of this ... 阅读全文
posted @ 2017-08-26 16:23 xiejunzhao 阅读(340) 评论(0) 推荐(0)
摘要: Given a 2D integer matrix M representing the gray scale of an image, you need to design a smoother to make the gray scale of each cell becomes the average gray scale (rounding down) of all the 8 surro... 阅读全文
posted @ 2017-08-26 00:41 xiejunzhao 阅读(226) 评论(0) 推荐(0)