Pregunta de entrevista de Apple

Questions about inverter and power calculation