Skip to content

[soobing] WEEK 06 Solutions#2519

Open
soobing wants to merge 2 commits intoDaleStudy:mainfrom
soobing:week6
Open

[soobing] WEEK 06 Solutions#2519
soobing wants to merge 2 commits intoDaleStudy:mainfrom
soobing:week6

Conversation

@soobing
Copy link
Copy Markdown
Contributor

@soobing soobing commented Apr 8, 2026

답안 제출 문제

작성자 체크 리스트

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

검토자 체크 리스트

Important

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

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

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dalestudy
Copy link
Copy Markdown
Contributor

dalestudy bot commented Apr 8, 2026

⚠️ Week 설정이 누락되었습니다

프로젝트에서 Week를 설정해주세요!

설정 방법

  1. PR 우측의 Projects 섹션에서 리트코드 스터디 옆 드롭다운(▼) 클릭
  2. 현재 주차를 선택해주세요 (예: Week 14(current) 또는 Week 14)

📚 자세한 가이드 보기


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

@dalestudy
Copy link
Copy Markdown
Contributor

dalestudy bot commented Apr 8, 2026

📊 soobing 님의 학습 현황

이번 주 제출 문제

문제 난이도 유형 분석
container-with-most-water Medium ✅ 의도한 유형
design-add-and-search-words-data-structure Medium ✅ 의도한 유형
longest-increasing-subsequence Medium ⚠️ 유형 불일치
spiral-matrix Medium ✅ 의도한 유형
valid-parentheses Easy ✅ 의도한 유형

누적 학습 요약

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

문제 풀이 현황

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

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

🔢 API 사용량 (gpt-4.1-nano)
요청 입력 토큰 출력 토큰 합계 비용
#1 2,382 178 2,560 $0.000309

@soobing soobing changed the title feat(soobing): week6 [soobing] WEEK 06 Solutions Apr 8, 2026
@soobing soobing closed this Apr 8, 2026
@soobing soobing reopened this Apr 8, 2026
@soobing soobing closed this Apr 8, 2026
@soobing soobing reopened this Apr 8, 2026
@soobing soobing closed this Apr 8, 2026
@soobing soobing reopened this Apr 8, 2026
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.

🏷️ 알고리즘 패턴 분석

  • 패턴: Two Pointers
  • 설명: 이 코드는 좌우 포인터를 이동시키며 최대 용량을 찾는 방식으로, 두 포인터를 활용하는 'Two 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.

🏷️ 알고리즘 패턴 분석

  • 패턴: Trie
  • 설명: 이 코드는 문자열 검색을 위해 Trie 자료구조를 사용하며, DFS를 통해 와일드카드 문자 '.'를 처리합니다. 효율적인 문자열 검색을 위해 Trie 패턴이 적용되었습니다.

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.

🏷️ 알고리즘 패턴 분석

  • 패턴: Dynamic Programming
  • 설명: 이 코드는 최장 증가 부분 수열을 찾기 위해 DP 배열을 사용하여 이전 원소들과의 관계를 기반으로 값을 갱신하는 방식으로 해결합니다. 시간복잡도는 O(n^2)이며, DP 패턴에 속합니다.

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.

🏷️ 알고리즘 패턴 분석

  • 패턴: Two Pointers
  • 설명: 이 코드는 경계값을 조절하며 배열을 순회하는 방식으로, 양 끝에서 포인터를 이동시키는 Two 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.

🏷️ 알고리즘 패턴 분석

  • 패턴: Stack / Monotonic Stack
  • 설명: 이 코드는 괄호의 열림과 닫힘을 스택 구조로 관리하여 유효성을 검사하므로 스택 패턴에 속합니다. 스택을 이용해 괄호 쌍을 추적하는 전형적인 방법입니다.

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

Labels

Projects

Status: Solving

Development

Successfully merging this pull request may close these issues.

1 participant