摘要:
You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?解法1:新开辟一个矩阵,空间复杂度O(... 阅读全文
posted @ 2015-10-15 17:25
AprilCheny
阅读(147)
评论(0)
推荐(0)
摘要:
Follow up for "Search in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?Write a function to... 阅读全文
posted @ 2015-10-15 15:51
AprilCheny
阅读(186)
评论(0)
推荐(0)

浙公网安备 33010602011771号