Data Patterns interview question

Circuit theory n problem solving