+ 4

Is anyone interested in The Gray Code?

The reflected binary code (RBC), also known as Gray code after Frank Gray, is a binary numeral system where two successive values differ in only one bit (binary digit). wikipedia link: https://en.m.wikipedia.org/wiki/Gray_code c++ code: https://code.sololearn.com/c84b62EXwIF1/?ref=app input : a number n that means the number of bits output : you'll see :)

18th Aug 2017, 11:14 PM
Enache Alexandru
Enache Alexandru - avatar
2 Answers
+ 9
I like your code") very amazing
18th Aug 2017, 11:19 PM
Nithiwat
Nithiwat - avatar
+ 5
I'm fascinated by this. đŸ‘ŒđŸ±
18th Aug 2017, 11:44 PM
esenia
esenia - avatar