Intel Corporation Interview Question

How transistor works and design logic circuit base on a problem given ?