[ohkingtaek] WEEK7 Solutions#2548
Merged
ohkingtaek merged 4 commits intoDaleStudy:mainfrom Apr 18, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
🏷️ 알고리즘 패턴 분석
- 패턴: Sliding Window
- 설명: 이 코드는 두 포인터를 이용해 연속된 문자열 구간을 탐색하며, 중복을 방지하기 위해 set을 활용하는 슬라이딩 윈도우 패턴을 사용합니다.
Contributor
📊 ohkingtaek 님의 학습 현황이번 주 제출 문제
누적 학습 요약
문제 풀이 현황
🤖 이 댓글은 GitHub App을 통해 자동으로 작성되었습니다. 🔢 API 사용량 (gpt-4.1-nano)
|
Contributor
There was a problem hiding this comment.
🏷️ 알고리즘 패턴 분석
- 패턴: DFS
- 설명: 이 코드는 2차원 배열을 순회하며 섬을 찾고, DFS를 통해 연결된 섬의 모든 부분을 탐색하는 방식으로 섬의 개수를 셉니다. DFS는 재귀 또는 스택을 이용한 깊이 우선 탐색 패턴입니다.
Contributor
📊 시간/공간 복잡도 분석longest-substring-without-repeating-characters
피드백: 시간 복잡도와 공간 복잡도가 모두 적절하게 계산되어 있습니다. 이 방법은 간단하지만 효율적이지 않을 수 있으니, 슬라이딩 윈도우 기법을 고려해볼 만합니다. 개선 제안: 현재 구현이 적절해 보입니다. number-of-islands
피드백: 시간과 공간 복잡도 모두 정확하게 계산되어 있습니다. BFS 또는 DFS를 활용하는 표준 접근법입니다. 개선 제안: 현재 구현이 적절해 보입니다. reverse-linked-list
피드백: 시간과 공간 복잡도 모두 정확하게 계산되어 있으며, 효율적인 방법입니다. 개선 제안: 현재 구현이 적절해 보입니다. set-matrix-zeroes
피드백: 시간과 공간 복잡도 계산이 정확하며, 집합을 이용한 표준 방법입니다. 개선 제안: 현재 구현이 적절해 보입니다. 🤖 이 댓글은 GitHub App을 통해 자동으로 작성되었습니다. |
Contributor
There was a problem hiding this comment.
🏷️ 알고리즘 패턴 분석
- 패턴: Fast & Slow Pointers
- 설명: 이 코드는 두 포인터를 활용하여 리스트를 역순으로 뒤집는 과정에서, 현재 노드와 이전 노드를 가리키는 포인터를 사용하므로 Fast & Slow Pointers 패턴에 속합니다.
Contributor
There was a problem hiding this comment.
🏷️ 알고리즘 패턴 분석
- 패턴: Two Pointers
- 설명: 이 코드는 행과 열을 기준으로 0의 위치를 기록하고, 해당 위치를 0으로 변경하는 과정에서 두 포인터처럼 행과 열을 반복 탐색하는 방식을 사용합니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
답안 제출 문제
작성자 체크 리스트
In Review로 설정해주세요.검토자 체크 리스트
Important
본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!