---
title: "Discussion on \"Striver 79\" | Hashnode"
description: "Discussion on \"Striver 79\". Next Permutation\ndef nextPermutation(self, nums: List[int]) -> None:\n        \"\"\"\n        Do not return anything, modify nums in-place instead.\n        \"\"\"\n        ind = -1\n        n = len(nums)\n\n        for i in range(n-2,-1,-1):\n            if nums[..."
url: "https://hashnode.com/posts/striver-79/66c9e25a7e26ae856f85ddba"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Striver 79](https://rishabh157.hashnode.dev/striver-79?utm_source=hashnode&utm_medium=feed)

Next Permutation def nextPermutation(self, nums: List\[int\]) -> None: """ Do not return anything, modify nums in-place instead. """ ind = -1 n = len(nums) for i in range(n-2,-1,-1): if nums\[...

Aug 24, 2024 · 3 min read · rishabh157.hashnode.dev  
Read the article

## Written by

[Rishabh Srivastava](https://hashnode.com/@rishabh157)

@rishabh157 · India

  
[View profile](https://hashnode.com/@rishabh157)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
