Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions 3sum/user-a.py

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏷️ 알고리즘 패턴 분석

  • 패턴: 감지된 패턴 없음
  • 설명: 주어진 소스 코드는 특정 알고리즘 패턴의 구현 없이 단순한 문자열 반환 함수에 불과합니다. 따라서 패턴을 식별할 수 없습니다.

📊 시간/공간 복잡도 분석

ℹ️ 이 파일에는 2가지 풀이가 포함되어 있어 각각 분석합니다.

풀이 1: a — Time: O(n^2) / Space: O(1)
복잡도
Time O(n^2)
Space O(1)

피드백: 배열 정렬과 두 포인터를 활용하여 세 수의 합이 0인 경우를 찾는 일반적 방법입니다.

개선 제안: 현재 구현은 함수 몸체가 없으므로 동작 구현이 필요합니다.

풀이 2: b — Time: O(n^2) / Space: O(1)
복잡도
Time O(n^2)
Space O(1)

피드백: 배열 정렬과 두 포인터를 활용하여 세 수의 합이 0인 경우를 찾는 일반적 방법입니다.

개선 제안: 현재 구현은 함수 몸체가 없으므로 동작 구현이 필요합니다.

💡 풀이에 시간/공간 복잡도를 주석으로 남겨보세요!

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def a():
return "user-a"
2 changes: 2 additions & 0 deletions 3sum/user-b.py

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏷️ 알고리즘 패턴 분석

  • 패턴: 감지된 패턴 없음
  • 설명: 제공된 코드는 3sum 문제의 풀이와 무관한 간단한 함수만 포함되어 있어 특정 패턴을 식별할 수 없습니다. 실제 알고리즘 패턴 분석을 위해서는 문제 풀이 코드가 필요합니다.

📊 시간/공간 복잡도 분석

ℹ️ 이 파일에는 2가지 풀이가 포함되어 있어 각각 분석합니다.

풀이 1: a — Time: O(n^2) / Space: O(1)
복잡도
Time O(n^2)
Space O(1)

피드백: 배열 정렬과 두 포인터를 활용하여 세 수의 합이 0인 경우를 찾는 일반적 방법입니다.

개선 제안: 현재 구현은 함수 몸체가 없으므로 동작 구현이 필요합니다.

풀이 2: b — Time: O(n^2) / Space: O(1)
복잡도
Time O(n^2)
Space O(1)

피드백: 배열 정렬과 두 포인터를 활용하여 세 수의 합이 0인 경우를 찾는 일반적 방법입니다.

개선 제안: 현재 구현은 함수 몸체가 없으므로 동작 구현이 필요합니다.

💡 풀이에 시간/공간 복잡도를 주석으로 남겨보세요!

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def b():
return "user-b-3"
Loading