MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / gray_code_generation

Function gray_code_generation

bit_manipulation/gray_code.cpp:33–49  ·  view source on GitHub ↗

* @brief The main function to generate n-bit Gray code * * @param n Number of bits * @return A vector that stores the n-bit Gray code */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testFunction · 0.85

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected