摘要: 题目描述: Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words 阅读全文
posted @ 2016-03-30 23:10 skycore 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight). For example, the 3 阅读全文
posted @ 2016-03-30 21:24 skycore 阅读(144) 评论(0) 推荐(0) 编辑