Regami Solutions interview question

regarding basic electronics and circuits