Skip to content

Commit

Permalink
Update 60-Permutation-Sequence.java
Browse files Browse the repository at this point in the history
  • Loading branch information
neetcode-gh authored Jan 3, 2023
1 parent ca5b83a commit f016057
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions java/60-Permutation-Sequence.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
//Tricky problem but easy
//this video was helpful https://www.youtube.com/watch?v=wT7gcXLYoao&ab_channel=takeUforward

class Solution {

//Time complexity O(N^2) becuase of remove method
// Time complexity O(N^2) becuase of remove method
public String getPermutation(int n, int k) {
StringBuilder kthPerm = new StringBuilder();
int fact = 1;
Expand Down

0 comments on commit f016057

Please sign in to comment.