摘要:
Gray CodeThe gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total number of bits in the code, print the sequence of gray code. A gray code sequence must begin with 0.For example, givenn= 2, return[0,1,3,2]. Its gr 阅读全文
posted @ 2014-04-04 01:42
flowerkzj
阅读(99)
评论(0)
推荐(0)
浙公网安备 33010602011771号