个人博客:https://luxialan.com

摘要: Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't mat... 阅读全文
posted @ 2015-01-29 10:47 luxialan 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Search in Rotated Sorted ArraySuppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e.,0 1 2 4 5 6 7might become4 5 6 7 0 1 2).... 阅读全文
posted @ 2015-01-29 10:23 luxialan 阅读(114) 评论(0) 推荐(0) 编辑