摘要: You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Note: You have to rotate the image in-place, which 阅读全文
posted @ 2019-11-19 10:55 xuan_abc 阅读(137) 评论(0) 推荐(0)
摘要: Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endp 阅读全文
posted @ 2019-11-19 10:31 xuan_abc 阅读(93) 评论(0) 推荐(0)