Skip to content

letseewithpositive/leetcode_problem_3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

leetcode_problem_3

solution of leetcode problem 89 class Solution { public: vector grayCode(int n) { vector ans; for(int i=0;i<pow(2,n);i++){ ans.push_back((i>>1)^i); } return ans; } };

About

solution of leetcode problem 89

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors