Power Factors Interview Question

Simple coding problem and questions about my skills and experience