Domanda di colloquio di Synopsys

How would you approach this problem?