Cognizant interview question

Serialization