Microsoft LLD
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2024-10-27Added By Anonymous
Source: Link
Recently I was asked an LLD question. It was quite vagues but basically something like this:
You need to write a library. There are different types of consumers of your library. They generate and understand different types of data. Some generate/understand XML, some JSON, some CSV etc.
Your library should take care of transforming the data from one form to other form given the source and target details.
Which design pattern would be right fit for this LLD design? (My take is strategy pattern)