Microsoft interview question

Trees, stream parsing, thread locks