This repository was archived by the owner on Mar 18, 2024. It is now read-only.
[2023-08-18] sumin #113#133
Merged
Merged
Conversation
Closed
Woo-Yeol
reviewed
Aug 18, 2023
| - (r,c)가 4번 사각형일 때, return 3*half*half + go(n-1, r-half, c-half) | ||
|
|
||
| """ | ||
| def go(n, r, c): |
Member
There was a problem hiding this comment.
Go가 뭔가 힘이나고 좋은 함수명인 것 같아서 웃고 갑니다 ㅎㅎ
Woo-Yeol
approved these changes
Aug 18, 2023
| 2. base condition | ||
| - n = 0일 때, return 0 | ||
|
|
||
| 3. 재귀식 |
Member
There was a problem hiding this comment.
재귀식이 저랑 같은 것 같아요!! 수민님과 같은 식이 유도된 것 같아 성장한 기분이 듭니다 ㅎㅎ
zsmalla
approved these changes
Aug 18, 2023
Contributor
zsmalla
left a comment
There was a problem hiding this comment.
저는 재귀를 활용해서 푼 문제의 풀이를 설명할 때 어떻게 해야하나 항상 고민이 많았는데 역시 짬에서 나오는 간단 명료한 풀이 설명에 무릎을 탁! half라는 변수 명이 와닿아서 n번 사각형에 대한 점화식이 단 번에 이해가는 것 같습니다. 아래 코드 영역에서 n사분면 표기를 n번 사각형으로 표기해주신다면 완벽할 것 같습니다~
Contributor
Author
@zsmalla 헉 완전 이상하다고 생각을 못하고 있었어요! 반영해서 수정했습니다 :) 감사합니다 지수님👍👍👍 |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
PR Summary
풀이시간: 25분
<input>
<solution>