Samsung Electronics Interview Question

How to implement or. and, mux