Skip to content

[tedkimdev] WEEK 9 Solutions#2578

Merged
tedkimdev merged 1 commit intoDaleStudy:mainfrom
tedkimdev:tedkimdev/week9
May 2, 2026
Merged

[tedkimdev] WEEK 9 Solutions#2578
tedkimdev merged 1 commit intoDaleStudy:mainfrom
tedkimdev:tedkimdev/week9

Conversation

@tedkimdev
Copy link
Copy Markdown
Contributor

답안 제출 문제

작성자 체크 리스트

  • Projects의 오른쪽 버튼(▼)을 눌러 확장한 뒤, Week를 현재 주차로 설정해주세요.
  • 문제를 모두 푸시면 프로젝트에서 StatusIn Review로 설정해주세요.
  • 코드 검토자 1분 이상으로부터 승인을 받으셨다면 PR을 병합해주세요.

검토자 체크 리스트

Important

본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!

  • 바로 이전에 올라온 PR에 본인을 코드 리뷰어로 추가해주세요.
  • 본인이 검토해야하는 PR의 답안 코드에 피드백을 주세요.
  • 토요일 전까지 PR을 병합할 수 있도록 승인해주세요.

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.

🏷️ 알고리즘 패턴 분석

  • 패턴: Fast & Slow Pointers
  • 설명: 이 코드는 느린 포인터와 빠른 포인터를 이용하여 순환 여부를 판단하는 패턴으로, 순환 탐지에 적합합니다.

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.

🏷️ 알고리즘 패턴 분석

  • 패턴: Sliding Window
  • 설명: 이 코드는 슬라이딩 윈도우 기법을 활용하여 문자열 s 내에서 t의 모든 문자들을 포함하는 최소 길이의 부분 문자열을 찾는 문제를 해결합니다. 윈도우의 크기를 조절하며 조건을 만족하는 구간을 탐색하는 방식입니다.

@dalestudy
Copy link
Copy Markdown
Contributor

dalestudy Bot commented Apr 30, 2026

📊 시간/공간 복잡도 분석

linked-list-cycle

복잡도
Time O(n)
Space O(1)

피드백: 이 풀이에는 복잡도 주석이 존재하지만, 주석 규칙에 따라 유효한 복잡도 주석이 아닙니다. 실제 알고리즘은 두 포인터를 이용한 순회로, 시간 복잡도는 리스트 길이 n에 대해 O(n), 공간 복잡도는 상수 O(1)입니다. 주석이 유효하지 않으므로, userTime과 userSpace는 null로 처리합니다.

개선 제안: 현재 구현이 적절해 보입니다. 복잡도 주석을 제거하거나, 유효한 형식으로 작성하는 것을 고려해보세요.

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

minimum-window-substring

복잡도
Time O(n * m)
Space O(n + m)

피드백: 이 풀이에는 복잡도 주석이 존재하지만, 주석 규칙에 따라 유효한 복잡도 주석이 아닙니다. 실제 알고리즘은 슬라이딩 윈도우 기법을 사용하며, 시간 복잡도는 문자열 s 길이 n과 t 길이 m에 따라 O(n * m), 공간 복잡도는 해시맵 크기에 따라 O(n + m)입니다. 주석이 유효하지 않으므로, userTime과 userSpace는 null로 처리합니다.

개선 제안: 현재 구현이 적절해 보입니다. 복잡도 주석을 제거하거나, 유효한 형식으로 작성하는 것을 고려해보세요.

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


🤖 이 댓글은 GitHub App을 통해 자동으로 작성되었습니다.

@dalestudy
Copy link
Copy Markdown
Contributor

dalestudy Bot commented Apr 30, 2026

📊 tedkimdev 님의 학습 현황

이번 주 제출 문제

문제 난이도 유형 분석
linked-list-cycle Easy ✅ 의도한 유형
minimum-window-substring Hard ✅ 의도한 유형

누적 학습 요약

  • 풀이한 문제: 32 / 75개
  • 이번 주 유형 일치율: 100% (2문제 중 2문제 일치)

문제 풀이 현황

카테고리 진행도 완료
Array ■■■■■■□ 8 / 10 (Medium 5, Easy 3)
Dynamic Programming ■■■■□□□ 7 / 11 (Easy 1, Medium 6)
String ■■■■□□□ 6 / 10 (Medium 3, Easy 3)
Matrix ■■■■□□□ 2 / 4 (Medium 2)
Binary ■■■□□□□ 2 / 5 (Easy 2)
Heap ■■□□□□□ 1 / 3 (Medium 1)
Graph ■■□□□□□ 2 / 8 (Medium 2)
Tree ■■□□□□□ 3 / 14 (Medium 3)
Linked List ■□□□□□□ 1 / 6 (Easy 1)
Interval □□□□□□□ 0 / 5 ← 아직 시작 안 함

🤖 이 댓글은 GitHub App을 통해 자동으로 작성되었습니다.

🔢 API 사용량 (gpt-4.1-nano)
요청 입력 토큰 출력 토큰 합계 비용
1 863 72 935 $0.000115

@github-actions github-actions Bot added the go label Apr 30, 2026
@jamiebase jamiebase self-requested a review May 1, 2026 09:33
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.

Go를 잘 모르지만 이해가 잘 되네요 :) 고생하셨습니다!

@tedkimdev tedkimdev merged commit f8f15fb into DaleStudy:main May 2, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from Solving to Completed in 리트코드 스터디 7기 May 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Completed

Development

Successfully merging this pull request may close these issues.

2 participants