摘要: class Solution {public: vector > subsetsWithDup(vector &S) { int len = S.size(); vector > res; vector subset; if (len ... 阅读全文
posted @ 2014-07-19 09:03 卖程序的小歪 阅读(144) 评论(0) 推荐(0) 编辑
摘要: You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?class Solution {pub... 阅读全文
posted @ 2014-07-19 00:52 卖程序的小歪 阅读(152) 评论(0) 推荐(0) 编辑