Skip to content

Conversation

@lkhyun
Copy link
Contributor

@lkhyun lkhyun commented Oct 1, 2025

🧷 문제 링크

https://school.programmers.co.kr/learn/courses/30/lessons/258705

🧭 풀이 시간

40분

👀 체감 난이도

✏️ 문제 설명

정삼각형을 이어붙여서 사다리꼴을 만드는데 2n+1 개수가 필요함.
윗변은 n이고 아랫변은 n+1 길이임.
이때 중간중간 정삼각형을 하나씩 붙여서 산처럼 만든 어떤 형태가 있을때.
정삼각형 1개 혹은 2개가 이어붙여진 형태를 이용해서 이를 채우려고 함.
채우는 경우의 수를 구하기.

🔍 풀이 방법

dp
이전 위치에 놓인 형태가 이후에 영향을 주는지 안 주는지를 분리해서 생각했음.

⏳ 회고

헷갈려잉

@lkhyun lkhyun self-assigned this Oct 1, 2025
@lkhyun lkhyun added the success 👍 해설을 보지 않고 풀었을 때 label Oct 1, 2025
@ShinHeeEul ShinHeeEul merged commit c71ef3c into main Oct 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

success 👍 해설을 보지 않고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants