Catalan number doubt

not able to pass a testcase help me find the mistake

@ankit152 when n is getting larger your res will not be able to store it in long long int since it will get bigger than 10^18. there comes a method called BIG INT Implementation in C++. search that and try implementing it in your code.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.