You can remember the meaning of 绝望 with this easy mnemonic:
I am in despair. I've exhausted (绝) all means but there is no hope (望) of finding my dog.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.