Skip to content
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

Added C++ Solution #112

Merged
merged 3 commits into from Oct 4, 2020
Merged

Conversation

@Anshul1507
Copy link
Contributor

@Anshul1507 Anshul1507 commented Oct 3, 2020

File contains

  • 31. Next Permutation
Anshul1507 added 2 commits Oct 3, 2020
31. Next Permutation C++ solution
cpp/_31.cpp Outdated
public:
void nextPermutation(vector<int>& nums) {

int i1,i2;

This comment has been minimized.

@fishercoder1534

fishercoder1534 Oct 4, 2020
Owner

one variable per line please.

This comment has been minimized.

@Anshul1507

Anshul1507 Oct 4, 2020
Author Contributor

sure

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

This comment has been minimized.

@fishercoder1534

fishercoder1534 Oct 4, 2020
Owner

please remove debug statements.

This comment has been minimized.

@Anshul1507

Anshul1507 Oct 4, 2020
Author Contributor

sure

@Anshul1507
Copy link
Contributor Author

@Anshul1507 Anshul1507 commented Oct 4, 2020

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
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.