Optiver Interview Question

logic circuits, boolean algebra, basics