Skip to content

【Arai60】53問目 22. Generate Parentheses#53

Merged
shining-ai merged 3 commits intomainfrom
review53
Jun 29, 2024
Merged

【Arai60】53問目 22. Generate Parentheses#53
shining-ai merged 3 commits intomainfrom
review53

Conversation

@shining-ai
Copy link
Copy Markdown
Owner

make_combination(current + bracket)
remain[bracket] += 1

brackets = ["(", ")"]
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

個人的には、関数内関数で使用する変数は、関数内関数より前に定義したいです。ですが、好みの問題かもしれません。

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

先に変数の定義を見ておくほうが私もわかりやすいなと思いました。
今後は先に書くようにしてみます。

@shining-ai shining-ai merged commit 745ca9a into main Jun 29, 2024
@shining-ai shining-ai deleted the review53 branch June 29, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants