You can remember the meaning of 诉讼 with this easy mnemonic:
You know what you did was wrong, so don't complain (诉) about the litigation (讼) and the lawsuit.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.