You are viewing a single comment's thread. Return to all comments →
I know I'm late but... I hope it helps others too.
I read @doxuanthang answer and, unfortunatly, I didn't really understand why this particular number matters.
However, @johnreedprogram1, all solutions should use 10^8+7 because the problem says so:
Print the answer modulo (10^8+7).
Seems like cookies are disabled on this browser, please enable them to open this website
Number of Binary Search Tree
You are viewing a single comment's thread. Return to all comments →
I know I'm late but... I hope it helps others too.
I read @doxuanthang answer and, unfortunatly, I didn't really understand why this particular number matters.
However, @johnreedprogram1, all solutions should use 10^8+7 because the problem says so: