SunPower Interview Question

Typical random Leetcode coding exercise.