摘要: lc 242 Valid Anagram [242 Valid Anagram][1] Given two strings s and t, write a function to determine if t is an anagram of s. For example, s = "anagra 阅读全文
posted @ 2016-04-21 22:50 三石宝宝 阅读(235) 评论(1) 推荐(1) 编辑
摘要: lc 231 Power of Two [231 Power of Two][1] Given an integer, write a function to determine if it is a power of two. analysation Easy problem. solution 阅读全文
posted @ 2016-04-21 22:16 三石宝宝 阅读(154) 评论(0) 推荐(1) 编辑
摘要: lc 191 Number of 1 Bits [191 Number of 1 Bits][1] Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also know 阅读全文
posted @ 2016-04-21 16:51 三石宝宝 阅读(185) 评论(0) 推荐(1) 编辑