Keysight Technologies interview question

Diode detector