Flipkart Interview Question

Design a library to build an Electric Circuit