摘要: 题目:You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?解题思路:In-place So... 阅读全文
posted @ 2015-07-16 21:30 Hygeia 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 题目:Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted fro... 阅读全文
posted @ 2015-07-16 16:42 Hygeia 阅读(148) 评论(0) 推荐(0) 编辑