unable to get the mistae in my code ,
olz help me with that
thankyou
Showing error for testcase 0 1 2
please share your code.
thanks
you solved this with very naive approach. this wont work even for n=10.
think about it. when n=10, 2n=20, and (2n)! will cross all the limits of numeric data type.
to implement it, read some ideas through https://www.geeksforgeeks.org/program-nth-catalan-number/ link. and try to code it again.
thanks
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.