in searchNextLevel()
there is a line

curr = curr->subTrie[idx];
This can result in curr being null.
and later there is another line

if (curr->subTrie[idx2] == NULL)

which might throw is curr is null

In general, your code is not doing what you want it to do (BFS base on your 
comment)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/876e9a9f-8b7f-4f80-a18f-e69cf74b13b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to