2015年1月24日

摘要: 题目:Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space?... 阅读全文
posted @ 2015-01-24 20:05 承续缘 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 题目:Given an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red,... 阅读全文
posted @ 2015-01-24 18:55 承续缘 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 题目:Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in... 阅读全文
posted @ 2015-01-24 12:24 承续缘 阅读(212) 评论(0) 推荐(0) 编辑

导航