寻找组合问题的定义

发布于 2024-10-05 21:56:44 字数 159 浏览 0 评论 0原文

我们有“N”对括号,即“N”个左括号“(”和“N”个右括号“)”。我们被要求找到使 2N 个括号的序列良好的方法数量,即我们在打开之前不关闭。

我需要找到 的定义好的序列,我可以用它来解决剩下的问题。

We are given "N" pairs of parentheses, ie "N" opening parenthesis "(" and "N" closing parenthesis ")". We are asked to find the number of ways to make Sequence of 2N parentheses that are GOOD, i.e. we dont close before opening.

I need to find a definition for GOOD Sequences that i can use for the rest of the problem.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

‖放下 2024-10-12 21:56:45

加泰罗尼亚语数字!

Catalan numbers!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文