摘要: 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-04-10 20:26 小羊同学 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 最近想刷一下LeetCode练习一下数据结构算法之类的,先从水题开始吧题目是这样的Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as theH... 阅读全文
posted @ 2015-04-10 11:42 小羊同学 阅读(236) 评论(0) 推荐(0) 编辑