Wipro Interview Question

Build AND and OR gates using NAND gates.