Microsoft interview question

SetAll question (search in internet)