Skip to content

[jamiebase] WEEK7 Solutions#2537

Open
jamiebase wants to merge 8 commits intoDaleStudy:mainfrom
jamiebase:main
Open

[jamiebase] WEEK7 Solutions#2537
jamiebase wants to merge 8 commits intoDaleStudy:mainfrom
jamiebase:main

Conversation

@jamiebase
Copy link
Copy Markdown
Contributor

@jamiebase jamiebase commented Apr 16, 2026

답안 제출 문제

작성자 체크 리스트

  • 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.

🏷️ 알고리즘 패턴 분석

  • 패턴: Sliding Window
  • 설명: 이 코드는 슬라이딩 윈도우 기법을 사용하여 문자열 내에서 중복되지 않는 가장 긴 구간을 찾는다. 왼쪽과 오른쪽 포인터를 이동시키며 조건에 맞게 윈도우를 확장하거나 축소한다.

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.

🏷️ 알고리즘 패턴 분석

  • 패턴: DFS
  • 설명: 이 코드는 깊이 우선 탐색(DFS)을 이용하여 연결된 육지를 찾고 방문 표시를 통해 섬의 개수를 셉니다. 재귀 호출로 인접한 노드를 탐색하는 방식이 핵심입니다.

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
  • 설명: 이 코드는 포인터를 이용해 리스트를 역순으로 뒤집으며, prev와 cur 포인터를 이동시키는 방식으로 진행됩니다. 빠른 또는 느린 포인터 개념보다는 포인터 이동과 방향 전환이 핵심입니다.

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.

🏷️ 알고리즘 패턴 분석

  • 패턴: Hash Map / Hash Set
  • 설명: 이 코드는 0이 있는 행과 열을 기록하기 위해 집합을 사용하여 빠른 검색을 수행합니다. 이를 통해 행과 열을 효율적으로 추적하고 수정하는 방식입니다.

Comment thread unique-paths/jamiebase.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.

🏷️ 알고리즘 패턴 분석

  • 패턴: Combinatorics
  • 설명: 이 코드는 조합 수학을 이용하여 경로의 수를 계산하므로 조합(Combinatorics) 패턴에 속합니다. 이동 경로의 선택을 수학적 조합으로 해결하는 방식입니다.

@dalestudy
Copy link
Copy Markdown
Contributor

dalestudy bot commented Apr 16, 2026

📊 gcount85 님의 학습 현황

이번 주 제출 문제

문제 난이도 유형 분석
longest-substring-without-repeating-characters Medium ✅ 의도한 유형
number-of-islands Medium ✅ 의도한 유형
reverse-linked-list Easy ✅ 의도한 유형
set-matrix-zeroes Medium ⚠️ 유형 불일치
unique-paths Medium ✅ 의도한 유형

누적 학습 요약

  • 풀이한 문제: 28 / 75개
  • 이번 주 유형 일치율: 80% (5문제 중 4문제 일치)

문제 풀이 현황

카테고리 진행도 완료
Bucket Sort ■■■■■■■ 1 / 1 (Medium 1)
Counting ■■■■■■■ 1 / 1 (Medium 1)
Memoization ■■■■■■■ 2 / 2 (Easy 1, Medium 1)
Quickselect ■■■■■■■ 1 / 1 (Medium 1)
Simulation ■■■■■■■ 1 / 1 (Medium 1)
Backtracking ■■■■■□□ 2 / 3 (Medium 2)
Array ■■■■□□□ 18 / 36 (Medium 15, Easy 3)
Binary Search ■■■■□□□ 2 / 4 (Medium 2)
Divide and Conquer ■■■■□□□ 3 / 6 (Medium 2, Easy 1)
Hash Table ■■■■□□□ 8 / 16 (Easy 3, Medium 5)
Prefix Sum ■■■■□□□ 1 / 2 (Medium 1)
Stack ■■■■□□□ 1 / 2 (Easy 1)
Trie ■■■■□□□ 2 / 4 (Medium 2)
Sorting ■■■□□□□ 5 / 11 (Medium 3, Easy 2)
Dynamic Programming ■■■□□□□ 8 / 18 (Easy 2, Medium 6)
String ■■■□□□□ 8 / 19 (Medium 5, Easy 3)
Binary Search Tree ■■□□□□□ 1 / 3 (Medium 1)
Recursion ■■□□□□□ 1 / 3 (Easy 1)
Two Pointers ■■□□□□□ 3 / 10 (Medium 2, Easy 1)
Matrix ■■□□□□□ 2 / 7 (Medium 2)
Greedy ■■□□□□□ 1 / 4 (Medium 1)
Heap (Priority Queue) ■■□□□□□ 1 / 4 (Medium 1)
Union-Find ■■□□□□□ 1 / 4 (Medium 1)
Bit Manipulation ■□□□□□□ 1 / 5 (Easy 1)
Design ■□□□□□□ 1 / 5 (Medium 1)
Math ■□□□□□□ 1 / 5 (Easy 1)
Binary Tree ■□□□□□□ 2 / 11 (Easy 1, Medium 1)
Tree ■□□□□□□ 2 / 11 (Easy 1, Medium 1)
Depth-First Search ■□□□□□□ 3 / 18 (Easy 1, Medium 2)
Linked List ■□□□□□□ 1 / 6 (Easy 1)
Breadth-First Search ■□□□□□□ 2 / 13 (Medium 1, Easy 1)
Combinatorics □□□□□□□ 0 / 1 ← 아직 시작 안 함
Data Stream □□□□□□□ 0 / 1 ← 아직 시작 안 함
Graph Theory □□□□□□□ 0 / 5 ← 아직 시작 안 함
Hash Function □□□□□□□ 0 / 1 ← 아직 시작 안 함
Merge Sort □□□□□□□ 0 / 1 ← 아직 시작 안 함
Sliding Window □□□□□□□ 0 / 3 ← 아직 시작 안 함
String Matching □□□□□□□ 0 / 1 ← 아직 시작 안 함
Topological Sort □□□□□□□ 0 / 2 ← 아직 시작 안 함

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

🔢 API 사용량 (gpt-4.1-nano)
요청 입력 토큰 출력 토큰 합계 비용
#1 2,319 185 2,504 $0.000306

@sadie100 sadie100 self-requested a review April 16, 2026 09:25
@jamiebase jamiebase changed the title [gcount85] WEEK7 Solutions [jamiebase] WEEK7 Solutions Apr 17, 2026
Copy link
Copy Markdown
Contributor

@sadie100 sadie100 left a comment

Choose a reason for hiding this comment

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

접근법과 복잡도를 함께 적어주셔서 이해가 쉬웠네요! 이번주도 고생하셨습니다 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

2 participants