RS Software interview question

How Set works internally?