Skip to content

Added C++ Solution #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 4, 2020
Merged

Conversation

Anshul1507
Copy link
Contributor

File contains

  • 31. Next Permutation

31. Next Permutation C++ solution
cpp/_31.cpp Outdated
public:
void nextPermutation(vector<int>& nums) {

int i1,i2;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one variable per line please.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

cpp/_31.cpp Outdated
Comment on lines 29 to 31
for(auto i:nums){
cout << i << " ";
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove debug statements.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

@Anshul1507
Copy link
Contributor Author

Hey @fishercoder1534, changes are done.

@fishercoder1534 fishercoder1534 merged commit eb3f1f0 into fishercoder1534:master Oct 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants