Wanted the explanation of CARLOS editorial

Could someone explain the editorial of CARLOS with an example . I am not able to understand the use of SET_VALUE array.

Hey i’ve explained my solution here