CPKit
v1.6.1

Gray Code Generator

BitsEasy

Convert standard binary values to reflected Gray code values bidirectionally.

Alt+Shift+G

Configuration Panel

Complexity Indices

Time ComplexityO(log N)
Auxiliary SpaceO(1)
Conceptual Overview

Gray Code is an ordering of the binary numeral system such that two successive values differ in only one bit (binary digit). It is also called reflected binary code.

Source: CP-Algorithms reference guide