摘要: python版本: 阅读全文
posted @ 2016-05-25 21:43 米开朗菠萝 阅读(423) 评论(0) 推荐(0)
摘要: 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 space fo 阅读全文
posted @ 2016-05-25 21:11 米开朗菠萝 阅读(219) 评论(0) 推荐(0)
摘要: Given an array and a value, remove all instances of that value in place and return the new length. Do not allocate extra space for another array, you 阅读全文
posted @ 2016-05-25 20:48 米开朗菠萝 阅读(199) 评论(0) 推荐(0)
摘要: Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A man, a plan, a canal: Pan 阅读全文
posted @ 2016-05-25 20:31 米开朗菠萝 阅读(158) 评论(0) 推荐(0)