Comparisons should be complete enough so that readers will understand what is being compared.
Also, comparisons should leave no ambiguity for readers. If more than one interpretation is possible, revise the sentence to state clearly which interpretation you intend. In the following sentence, two interpretations are possible.
Exercise: Needed words 1
Exercise: Needed words 2
Exercise: Needed words 3
Exercise: Needed words 4