1. I left my cell phone at home, and suddenly I realized it.

2. Suddenly I realized that I had left my cell phone at home.
-----------------
Does #1 mean #2?
Are the tenses used in each sentence grammatical?

They mean the same thing, but #2 is by far the better phrased sentence.

Yes, both sentences convey the same meaning. In sentence #1, the speaker states that they left their cell phone at home and then later realized this fact. In sentence #2, the speaker directly expresses the realization that they had left their cell phone at home.

Regarding the tenses used, both sentences are grammatically correct. In sentence #1, the verb "left" is in the simple past tense, indicating an action that occurred in the past. The verb "realized" is in the simple past tense as well, aligning with the timeframe of the speaker's realization.

In sentence #2, the verb "realized" is in the simple past tense, which highlights the speaker's sudden comprehension. The phrase "that I had left" uses the past perfect tense, indicating that the action of leaving the cell phone happened prior to the realization.

Yes, both sentences convey the same meaning, but there is a difference in the tenses used.

In sentence #1, "I left my cell phone at home" is in the simple past tense, indicating an action that happened in the past. "And suddenly I realized it" is in the simple present tense, indicating that the realization is happening at the present moment.

In sentence #2, "I had left my cell phone at home" is in the past perfect tense, indicating that the action of leaving the phone happened before another past action or point in time. "Suddenly I realized that" is in the simple past tense, indicating that the realization occurred at a specific point in the past.

Both tenses used in each sentence are grammatically correct, but the choice of tense depends on the context and the intended meaning.