Open
Conversation
Create Digital Root
Create Find The Parity Outlier.py
Create The Supermarket Queue.py
Create Rot13.py
Create Reducing Problems - Bug Fixing #8.py
Create Which are in?.py
Create A Chain adding function.py
Create A Chain adding function2.py
Create Reg.py
Create Shortest Word.py
Create Find the smallest integer in the array.py
Create Rakuten Hiring.py
Create Square(n) Sum.py
Create Formation of Linked list.py
Create Linked List Creation.py
Update and rename py to Set Matrix Zero.cpp
Create Pascal's Triangle.cpp
Create Stock Buy and sale.cpp
Create Majority Elements 2.cpp
Create Count Reverse Pairs.cpp
Create Count the number of subarrays with given xor K.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
class Solution(object):
def nextPermutation(self, nums):
"""
:type nums: List[int]
:rtype: void Do not return anything, modify nums in-place instead.
"""