FIS interview question

Serialization questions were a bit tricky