Optiver Interview Question

basic question and system design problems