Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Solution:
- def countOrders(self, n: int) -> int:
- return (math.factorial(n * 2) // 2**n) % (10**9 + 7)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement