Allegro MicroSystems Interview Question

Peak detector circuit