Aman Dwivedi
Results
1
issues of
Aman Dwivedi
The idea is to precompute factorials and inverse factorials and finally answer it in O(1) time.
easy