we can optimize our storage by storing only references of the terminal nodes rather than storing the entire phrase. To find the suggested terms we need to traverse back using the parent reference from the terminal node
what does that mean? Difficult to imagine. A diagrammatic here would have been better.