随笔分类 -  LeetCode

Keep learning everyday !
摘要:题目: Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra spac 阅读全文
posted @ 2016-09-05 17:57 PolarBearInterest 阅读(124) 评论(0) 推荐(0)
摘要:题目: Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. Follow up: Did you use extra space? A straight forwa 阅读全文
posted @ 2016-08-01 02:22 PolarBearInterest 阅读(135) 评论(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 i 阅读全文
posted @ 2016-07-28 00:32 PolarBearInterest 阅读(157) 评论(0) 推荐(0)