The correct sentence with a gerund as the subject is; Remembering all of the details of the accident was difficult for her.
A gerund is a noun made from a verb word (usually termed the root) plus ing (a present participle). On this note, a whole gerund phrase functions in a sentence just like a noun and can act as a subject, an object, or a predicate nominative.
Read more on gerunds;
https://brainly.com/question/8912758