Synechron Interview Question

Underlying implementation of set