I am not able to understand terminal cindition

if we have to find “no” in the trie of “no” “not” then how the terminal condition is satisfied

@Bhavit_Singla After each element is inserted inside the trie it is marked with a bool variable where it ends. So you can use the condition that when no was inserted inside the trie it must contain the bool variable true.

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.