Skip to content

[jinaSEO] WEEK 03 Solutions#2718

Merged
DaleSeo merged 1 commit into
DaleStudy:mainfrom
jinaSE0:main
Jul 12, 2026
Merged

[jinaSEO] WEEK 03 Solutions#2718
DaleSeo merged 1 commit into
DaleStudy:mainfrom
jinaSE0:main

Conversation

@jinaSE0

@jinaSE0 jinaSE0 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

답안 제출 문제

작성자 체크 리스트

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

검토자 체크 리스트

Important

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

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

@dalestudy

dalestudy Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

📊 jinaSE0 님의 학습 현황

이번 주 제출 문제

문제 난이도 유형 분석
valid-palindrome Easy ✅ 의도한 유형

누적 학습 요약

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

문제 풀이 현황

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

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

🔢 API 사용량 (gpt-5-nano)
요청 입력 토큰 출력 토큰 합계 비용
1 344 37 381 $0.000032

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.

🏷️ 알고리즘 패턴 분석

  • 패턴: Greedy, Hash Map / Hash Set, Two Pointers, Sliding Window, Dynamic Programming, Binary Search, Monotonic Stack, Heap / Priority Queue, DFS, BFS, Backtracking, Divide and Conquer, Union Find, Trie, Bit Manipulation
  • 설명: 주어진 코드는 문자열 전처리 후 뒤집기와 비교하여 회문 여부를 판단합니다. 정확한 패턴으로는 Two Pointers(앞뒤 문자 비교로 회문 판단 가능)나 Sliding Window가 적합하지만 현재 구현은 명시적 반복 비교 대신 문자열 변환으로 해결합니다.

📊 시간/공간 복잡도 분석

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

피드백: 입력 문자열을 한 번 순회하며 정리된 문자열을 만들고, 그 문자열의 대칭 여부를 비교한다. 두 번의 배열 접근이 필요하므로 선형 시간과 선형 추가 공간을 사용한다.

개선 제안: 현재 구현이 적절해 보입니다.

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

@yuseok89 yuseok89 left a comment

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.

금요일이라,
일단 푸신 문제까지 리뷰해드렸습니다.
추가로 더 풀게 되시면 내일도 리뷰해드리겠습니다 !

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.

틀리지 않게 잘 푸신 것 같네요.
추가적인 공간(cleaned, reserved) 없이도 풀이가 가능한 문제니 참고하세요 ~

@DaleSeo

DaleSeo commented Jul 12, 2026

Copy link
Copy Markdown
Member

@DaleStudy 승인

@dalestudy dalestudy Bot left a comment

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.

승인되었습니다! 👍

@DaleSeo DaleSeo merged commit aba7adb into DaleStudy:main Jul 12, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from Solving to Completed in 리트코드 스터디 8기 Jul 12, 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.

3 participants