@Sachin :thanks man i just tried to change the code with focus on
initializing NULL values to child pointers array (TrieNode->symbol in this
case) and it just works fine.
@Atul : thank you for trying to run the code. Actually the IDE i use
preferably is DEV-c++ which had the problem i me
Hello everyone,
I was trying to implement Trie in c++ for the first time and got some
issues in coding its implementation.
The code has 2 commented lines namely cmnt1 and cmnt 2.
I dont understand how does it make a difference if i use cmnt1 instead of
cmnt2 .
Both lines are intended to check if a
@rahul: excellent answer. thanks a ton!!.
@navin :i will try that too .Thanks !!
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to
a
Hello everybody,
I need to find a way of finding the longest palindrome in a very very long
string (n<=2) . a linear time algo is expected. help me out
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To view this discussion on the web vi