TheAlgorithms / C-Plus-Plus

Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
https://thealgorithms.github.io/C-Plus-Plus
MIT License
30.03k stars 7.1k forks source link

feat:add graycode algorithm #2605

Closed Harshdev098 closed 9 months ago

Harshdev098 commented 11 months ago

Description of Change:- added a gray code algorithm in bit manipulation folder, its a Function to generate Gray code sequence for 'n' bits.

Checklist

Notes:

github-actions[bot] commented 10 months ago

This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.