NCS interview question

Basics of collection, strings serialization, oops