It does not affect memory so much but it does cause aggresive behavioral issues.
If you want to understand Trump's madness then start there. He needs removing from office through the 25th amendment for his own sake as well as the worlds.
He also shows signs of heart and kidney disease so JD Vance or whoever need to grow some balls and address this before Trump either drops dead live on TV or goes total nuclear.
Any form of dementia affects cognitive function of which memory is a part. Different types of dementia manifest themselves in different ways as the disease progresses. Each person is different so there are very few absolute rules.
The Alzheimer’s Society and Dementia UK have lots of useful information on their websites.
Trump has always been a narcissist so that personality trait is likely to be made worse in the early stages of dementia. The biggest risk factor for getting dementia is your age; perhaps the Americans should choose younger candidates for office?