2015年4月7日

lc面试准备:Repeated DNA Sequences

摘要: 1 题目All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying DNA, it is sometimes useful... 阅读全文

posted @ 2015-04-07 22:08 BYRHuangQiang 阅读(319) 评论(0) 推荐(0) 编辑

lc面试准备:Number of 1 Bits

摘要: 1 题目Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as theHamming weight).For example, the 32-bi... 阅读全文

posted @ 2015-04-07 20:49 BYRHuangQiang 阅读(272) 评论(0) 推荐(0) 编辑

lc面试准备:Reverse Bits

摘要: 1 题目Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as00000010100101000001111010011100), ret... 阅读全文

posted @ 2015-04-07 20:31 BYRHuangQiang 阅读(327) 评论(0) 推荐(0) 编辑

导航