what is contrast contributory negligence and comparative negligence?

and what is the diference between them?