MCPcopy Create free account
hub / github.com/Ainevsia/Leetcode-Rust / main

Function main

89. Gray Code/Solution.cpp:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32};
33
34int main() {
35 Solution s;
36 auto x = s.grayCode(2);
37 for (auto i: x) {
38 cout << i << ' ';
39 }
40 return 0;
41}

Callers

nothing calls this directly

Calls 1

grayCodeMethod · 0.80

Tested by

no test coverage detected