MakeMyTrip Interview Question

write code for singleton