feat: 31_next_permutation
This commit is contained in:
		
							parent
							
								
									72a16c8d6a
								
							
						
					
					
						commit
						5a7ac3abb0
					
				
							
								
								
									
										9
									
								
								31_next_permutation/main.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								31_next_permutation/main.cpp
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,9 @@ | ||||
| #include <bits/stdc++.h> | ||||
| using namespace std; | ||||
| 
 | ||||
| class Solution { | ||||
|    public: | ||||
|     void nextPermutation(vector<int>& nums) { | ||||
|         next_permutation(nums.begin(), nums.end()); | ||||
|     } | ||||
| }; | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user