You can remember the meaning of 难过 with this easy mnemonic:
It's very difficult (难) for me to get over my past (过) with her. I still feel very sad whenever I think about her.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.