WD interview question

Leetcode easy, circuit analysis, electrical fundamentals