The functions createCodewords() and transformTreeToArrayOfLists() used in the case study seem to be vulnerable because the first thing they both do is access the pointer left of node p, which would be dangerous if p were null; therefore, the body of both functions should apparently be preceded by the condition if (p != 0). Explain why this is not necessary.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.