Microsoft Interview Question
Software Engineer / DevelopersYou need not to break when a NULL child is encountered.
For some 0<=k<m<MAX_CHILD_NODES, if p->child[k] is NULL then it doesnt mean p->child[m] is also NULL.
what is QueueAdd,QueueEmpty functions in the code? Always better if you can explain the code a bit more like an algorithim becasue people like me dont really understand code right away..
I am not good in C++ STL concepts , so I am wring code in C .
- siva.sai.2020 December 09, 2010