Micron Technology Interview Question

using certain logic gates how can you get this given output