Skip to content

Commit

Permalink
fix : 줄 바꿈 문자 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
imsosleepy committed Dec 20, 2024
1 parent a9c22f6 commit 514006f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions 3sum/imsosleepy.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// 투포인터 방식으로 구현 기본 시간복잡도가 O(2^n)이므로 오름차순으로 정렬하는 O(NlogN)은 마음껏 사용해도 된다.
// 투포인터 방식으로 구현
// 투포인터의 기본 시간복잡도가 O(2^n)이므로 오름차순으로 정렬하는 O(NlogN)은 마음껏 사용해도 된다.
public List<List<Integer>> threeSum(int[] nums) {
List<List<Integer>> result = new ArrayList<>();
Arrays.sort(nums);
Expand Down Expand Up @@ -51,4 +52,4 @@ public void dfs(int[] nums, int index, List<Integer> temp, Set<List<Integer>> an
temp.remove(temp.size() - 1);
}
}
}
}
2 changes: 1 addition & 1 deletion decode-ways/imsosleepy.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ public int numDecodings(String s) {

return dp[n];
}
}
}

0 comments on commit 514006f

Please sign in to comment.