Question: does someone get a notification when you like and unlike something?
Answer: If they're not using their device during the time you liked and unliked their posts, then the notification from their device as soon as you unlike it. Even if they go to their Facebook notifications, they won't be able to see that you've liked their posts because the notification gets deleted as soon as you unlike it.