Gedac Electric interview question

GENERAL