Skip to content

Conversation

@LiiNi-coder
Copy link
Contributor

🧷 문제 링크

https://www.acmicpc.net/problem/2233

🧭 풀이 시간

120 분

👀 체감 난이도

✏️ 문제 설명

  • 트리를 상대로 dfs궤적이 주어지고, 두가지의 자식이 인풋으로 특정될때, 해당 자식의 최소공통조상의 정보를 dfs궤적을 통해 출력

🔍 풀이 방법

  • 내 풀이 방식: 어줍잖은 stack활용
  • 정석: 트리그래프 + 그냥 최소 공통조상알고리즘

⏳ 회고

  • 어떻게든 내가 생각한 방법인 stack을 활용한 방법으로 풀어보려함. 그런데 20퍼센트에서 틀림
  • 다음에 이 문제를 정복해서 최소공통조상 알고리즘을 학습할것

@LiiNi-coder LiiNi-coder added the fail 😢 해설을 보고 풀었거나, 못 풀었을 때 label Nov 27, 2025
@ShinHeeEul ShinHeeEul merged commit e079ba2 into main Nov 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fail 😢 해설을 보고 풀었거나, 못 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants