MakeMyTrip interview question

write code for singleton