Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reverse に関して:末尾再帰の例 #1561

Open
Seasawher opened this issue Feb 12, 2025 · 0 comments
Open

reverse に関して:末尾再帰の例 #1561

Seasawher opened this issue Feb 12, 2025 · 0 comments
Labels
要調査 さらなる調査を要する

Comments

@Seasawher
Copy link
Member

reverse については、末尾再帰にすることで計算量が改善されるはず。
末尾再帰の例として割と良いのでは?(スタックオーバーフローする例を紹介することはできないため)

@Seasawher Seasawher added the 要調査 さらなる調査を要する label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
要調査 さらなる調査を要する
Projects
None yet
Development

No branches or pull requests

1 participant