Doyen Infosolutions interview question

what is diode