may this question helps you to understand how to solve such type of questions
https://gateoverflow.in/247402/self-doubt-conflict-serializable
64.3k questions
77.9k answers
244k comments
80.0k users