They are both grammatically correct. The first is natural.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
AnonymousBut the first sentence is the shortened form of "I don't care if you like me or not like me".It's usually more natural to be brief. It is not natural to repeat unnecessarily.
So how can it be more natural ?