Design of NAND logic switching circuits Problems in switching theory can be solved using universal NAND logic elements. The design of these circuits is optimized by using a factor procedure to ensure gate minimality with specified fan-in restrictions. The method suggested provides a means of obtaining hand solutions and can be suitably adapted for computer programming.