Advertisement
serega1112

1359

Jan 14th, 2021
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. class Solution:
  2.     def countOrders(self, n: int) -> int:
  3.         return (math.factorial(n * 2) // 2**n) % (10**9 + 7)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement